{"id":4674,"date":"2019-10-09T09:36:34","date_gmt":"2019-10-09T00:36:34","guid":{"rendered":"https:\/\/www.climb.co.jp\/blog_dbmoto\/?p=4674"},"modified":"2025-08-20T18:16:03","modified_gmt":"2025-08-20T09:16:03","slug":"dbmoto%e3%81%a7%e3%81%ae%e3%82%b9%e3%82%af%e3%83%aa%e3%83%97%e3%83%88%e3%81%ae%e6%9b%b8%e3%81%8d%e6%96%b9%e2%91%a1%ef%bc%9a%e3%82%b0%e3%83%ad%e3%83%bc%e3%83%90%e3%83%ab%e3%82%b9%e3%82%af%e3%83%aa","status":"publish","type":"post","link":"https:\/\/www.climb.co.jp\/blog_dbmoto\/archives\/4674","title":{"rendered":"Syniti Data Replication (\u65e7DBMoto)\u3067\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u66f8\u304d\u65b9\u2461\uff1a\u30b0\u30ed\u30fc\u30d0\u30eb\u30b9\u30af\u30ea\u30d7\u30c8"},"content":{"rendered":"\n<p><a href=\"https:\/\/www.climb.co.jp\/blog_dbmoto\/archives\/4659\">\u524d\u56de<\/a>\u306b\u5f15\u304d\u7d9a\u304d\u3001 Syniti Data Replication (\u65e7DBMoto) \u3067\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u66f8\u304d\u65b9\u3092\u3054\u7d39\u4ecb\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3059\u3002\u4eca\u56de\u306f\u305d\u306e\u4e2d\u3067\u3082\u7279\u306b\u30b0\u30ed\u30fc\u30d0\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u57fa\u672c\u7684\u306a\u4f7f\u7528\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30b0\u30ed\u30fc\u30d0\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u306f\u95a2\u6570\u3084\u30b0\u30ed\u30fc\u30d0\u30eb\u30a4\u30d9\u30f3\u30c8\u306b\u5bfe\u3059\u308b\u5236\u5fa1\u306e\u5b9a\u7fa9\u3092\u884c\u3046\u30b0\u30ed\u30fc\u30d0\u30eb\u30af\u30e9\u30b9\u3092\u5b9a\u7fa9\u3059\u308b\u5171\u901a\u30e2\u30b8\u30e5\u30fc\u30eb\u3067\u3059\u3002\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30b9\u30af\u30ea\u30d7\u30c8\u307e\u305f\u306f\u95a2\u6570\u30b9\u30af\u30ea\u30d7\u30c8\u5185\u3067\u547c\u3073\u51fa\u3059\u5fc5\u8981\u304c\u3042\u308b\u30e6\u30fc\u30b6\u30fc\u95a2\u6570\u3092\u5b9a\u7fa9\u3059\u308b\u305f\u3081\u306b\u3082\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30b0\u30ed\u30fc\u30d0\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u306f\u4ee5\u4e0b\u306e\u95a2\u6570\u30bb\u30c3\u30c8\u3092\u4f7f\u7528\u307e\u305f\u306f\u5b9a\u7fa9\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Microsoft C#\u30e9\u30a4\u30d6\u30e9\u30ea\uff1a\u30b0\u30ed\u30fc\u30d0\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u30a8\u30c7\u30a3\u30bf\u3067\u9078\u629e\u3057\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u8a00\u8a9e\u306b\u57fa\u3065\u3044\u3066\u3001C\uff03\u307e\u305f\u306fVB.NET\u3092\u4f7f\u7528\u3057\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u304a\u3088\u3073\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u4f7f\u7528\u3059\u308b\u95a2\u6570\u3092\u5b9a\u7fa9<\/li><li>Microsoft Visual Basic\u540d\u524d\u7a7a\u9593\u95a2\u6570\uff1a [Strings] Left, Mid, Right, Instr; [Math] Cos, Arc, Power\u306a\u3069\u306eVisual Basic 6\u95a2\u6570\u3092\u5229\u7528\u53ef\u80fd\u306b\u3059\u308b.NET Framework\u30af\u30e9\u30b9\u30e9\u30a4\u30d6\u30e9\u30ea<\/li><li>\u30b0\u30ed\u30fc\u30d0\u30eb\u95a2\u6570\uff1aDBMoto\u306e\u4e00\u90e8\u3068\u3057\u3066\u95a2\u6570\u3092\u5b9f\u88c5<\/li><li>\u30b0\u30ed\u30fc\u30d0\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u30a4\u30d9\u30f3\u30c8\uff1a\u5168\u3066\u306e\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u9069\u7528\u3059\u308b\u30a4\u30d9\u30f3\u30c8<\/li><li>\u30e6\u30fc\u30b6\u30fc\u95a2\u6570\uff1a\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u4f7f\u7528\u3059\u308b\u305f\u3081\u306e\u95a2\u6570\u3092\u30b0\u30ed\u30fc\u30d0\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u30c0\u30a4\u30a2\u30ed\u30b0\u5185\u3067\u30e6\u30fc\u30b6\u304c\u5b9a\u7fa9<\/li><li>\u30c6\u30fc\u30d6\u30eb\u4f5c\u6210\u30eb\u30fc\u30eb\u307e\u305f\u306f\u95a2\u6570\uff1a\u30bf\u30fc\u30b2\u30c3\u30c8\u30c6\u30fc\u30d6\u30eb\u30a6\u30a3\u30b6\u30fc\u30c9\u3067\u306e\u30c6\u30fc\u30d6\u30eb\u4f5c\u6210\u306e\u4ed5\u65b9\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3059\u308b\u305f\u3081\u306e\u95a2\u6570<\/li><li>\u30d5\u30a3\u30fc\u30eb\u30c9\u30de\u30c3\u30d4\u30f3\u30b0\u30eb\u30fc\u30eb\u307e\u305f\u306f\u95a2\u6570\uff1a\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u30bd\u30fc\u30b9\u3068\u30bf\u30fc\u30b2\u30c3\u30c8\u306e\u30ab\u30e9\u30e0\u3092\u3069\u306e\u3088\u3046\u306b\u5bfe\u5fdc\u4ed8\u3051\u3059\u308b\u304b\u6c7a\u5b9a\u3059\u308b\u305f\u3081\u306e\u95a2\u6570<\/li><\/ul>\n\n\n\n<p>\u30b0\u30ed\u30fc\u30d0\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u30a8\u30c7\u30a3\u30bf\u3092\u4f7f\u7528\u3057\u3066\u3001\u591a\u304f\u306e\u5834\u5408\u3001\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30b9\u30af\u30ea\u30d7\u30c8\u304a\u3088\u3073\u30de\u30c3\u30d4\u30f3\u30b0\u3067\u4f7f\u7528\u3059\u308b\u95a2\u6570\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002 <\/p>\n\n\n\n<p>\u305f\u3068\u3048\u3070\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3001\u3044\u304f\u3064\u304b\u306e\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u4f7f\u7528\u3059\u308b\u5909\u63db\u95a2\u6570\u304c\u3042\u308b\u3068\u3057\u307e\u3059\u3002 \u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30b9\u30af\u30ea\u30d7\u30c8\u3054\u3068\u306b\u5909\u63db\u95a2\u6570\u3092\u7e70\u308a\u8fd4\u3057\u8a18\u8ff0\u3059\u308b\u4ee3\u308f\u308a\u306b\u3001\u30b0\u30ed\u30fc\u30d0\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u5909\u63db\u95a2\u6570\u3092\u5b9a\u7fa9\u3057\u3001\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30b9\u30af\u30ea\u30d7\u30c8\u3084\u95a2\u6570\u30de\u30c3\u30d4\u30f3\u30b0\u3067\u547c\u3073\u51fa\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>1\uff0eSyniti Data Replication (\u65e7DBMoto)\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u3066\u30e1\u30bf\u30c7\u30fc\u30bf\u3092\u53f3\u30af\u30ea\u30c3\u30af\u3057\u3001<strong>\u30b0\u30ed\u30fc\u30d0\u30eb\u30b9\u30af\u30ea\u30d7\u30c8<\/strong>\u3092\u9078\u629e\u3057\u307e\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u8a00\u8a9e\u306b\u306fC#\u304c\u9078\u629e\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: csharp; title: ; notranslate\" title=\"\">\nusing System;\nusing System.Data;\nusing DBMotoPublic;\nusing DBMotoScript;\nnamespace DBRS\n{\n    public class GlobalScript : IGlobalScript\n    {\n    }\n    public class MappingRule : IMappingRule\n    {\n    }\n    public class GlobalEvents : IGlobalEvents\n    {\n    }\n}\n<\/pre><\/div>\n\n\n<p>2\uff0e GlobalScript\u30af\u30e9\u30b9\u3067\u3001\u6b21\u306e\u4f8b\u306e\u3088\u3046\u306b\u95a2\u6570\u3092\u5ba3\u8a00\u3057\u307e\u3059 <\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: csharp; title: ; notranslate\" title=\"\">\npublic static DateTime DateConvert(int intDate){\n   int cyy;\n   int yyyy;\n   int mm;\n   int dd;   \n   cyy = (int)(intDate \/ 10000);\n   mm = (int)((intDate - cyy * 10000) \/ 100);\n   dd = intDate % 100;\n   if (cyy &lt; 100)\n       yyyy = 1900 + cyy;\n   else\n       yyyy = 2000 + (cyy % 100);\n   DateTime dc = new DateTime(yyyy, mm, dd);\n   return dc;\n}\n<\/pre><\/div>\n\n\n<p>3\uff0e\u30b3\u30f3\u30d1\u30a4\u30eb\u30dc\u30bf\u30f3\u3092\u4f7f\u7528\u3057\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u69cb\u6587\u30c1\u30a7\u30c3\u30af\u3092\u884c\u3044\u307e\u3059\u3002\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u554f\u984c\u304c\u3042\u3063\u305f\u5834\u5408\u3001\u5225\u306e\u30c0\u30a4\u30a2\u30ed\u30b0\u3067\u8868\u793a\u3055\u308c\u307e\u3059\u3002\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3059\u308b\u524d\u306b\u30b3\u30f3\u30d1\u30a4\u30eb\u3092\u884c\u3044\u3001\u554f\u984c\u304c\u306a\u3044\u304b\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"923\" height=\"613\" src=\"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-content\/uploads\/2019\/10\/image.png\" alt=\"\" class=\"wp-image-4698\" srcset=\"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-content\/uploads\/2019\/10\/image.png 923w, https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-content\/uploads\/2019\/10\/image-300x199.png 300w, https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-content\/uploads\/2019\/10\/image-768x510.png 768w\" sizes=\"auto, (max-width: 923px) 100vw, 923px\" \/><figcaption><br><\/figcaption><\/figure>\n\n\n\n<p>4\uff0e\u3053\u306e\u3088\u3046\u306b\u30b0\u30ed\u30fc\u30d0\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u5b9a\u7fa9\u3057\u305f\u95a2\u6570\u3092\u5404\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u30de\u30c3\u30d4\u30f3\u30b0\u6642\u306a\u3069\u306b\u5229\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"795\" height=\"593\" src=\"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-content\/uploads\/2019\/10\/image-1.png\" alt=\"\" class=\"wp-image-4699\" srcset=\"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-content\/uploads\/2019\/10\/image-1.png 795w, https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-content\/uploads\/2019\/10\/image-1-300x224.png 300w, https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-content\/uploads\/2019\/10\/image-1-768x573.png 768w\" sizes=\"auto, (max-width: 795px) 100vw, 795px\" \/><\/figure>\n\n\n\n<p>\u203b\u95a2\u6570\u3092\u5b9a\u7fa9\u3059\u308b\u969b\u306b\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u307e\u305f\u306f\u95a2\u6570\u30b9\u30af\u30ea\u30d7\u30c8\u5185\u3067\u305d\u306e\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306bpublic\u306e\u5f8c\u306bstatic\u30ad\u30fc\u30ef\u30fc\u30c9\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: csharp; title: ; notranslate\" title=\"\">\npublic static object GetQueryValue(IDbConnection objConnection, String strQuery)\n<\/pre><\/div>\n\n\n<p>\u203b Record_OnExecuteError\u30a4\u30d9\u30f3\u30c8\u3067\u306f\u4e0b\u8a18\u306e\u3088\u3046\u306b\u3001\u30a4\u30d9\u30f3\u30c8\u30cf\u30f3\u30c9\u30e9\u3092\u5ba3\u8a00\u3057\u307e\u3059\u3002\u5c5e\u6027GlobalEventAttribute\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3092\u5fd8\u308c\u306a\u3044\u3067\u304f\u3060\u3055\u3044\u3002 <\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: csharp; title: ; notranslate\" title=\"\">\n&#x5B;GlobalEventsAttribute(&quot;Record_OnExecuteError&quot;, &quot;Define a general event for the event EventName&quot;)]\n    public void MyErrorHandler(String sReplOrGroupName, DBMotoPublic.IRecord  recTarget, Exception e, \n\tref Boolean bRetryExecute, ref int iSleep, int iIteration)\n        {\n\t}\n<\/pre><\/div>\n\n\n<p>\u203b\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30b9\u30af\u30ea\u30d7\u30c8\u5185\u306e\u30a4\u30f3\u30dd\u30fc\u30c8\u306e\u30ea\u30b9\u30c8\u306b\u8ffd\u52a0\u3059\u308b\u5834\u5408\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306b\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u30c0\u30a4\u30a2\u30ed\u30b0\u304b\u3089\u8ffd\u52a0\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"568\" height=\"611\" src=\"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-content\/uploads\/2019\/09\/image-1.png\" alt=\"\" class=\"wp-image-4675\" srcset=\"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-content\/uploads\/2019\/09\/image-1.png 568w, https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-content\/uploads\/2019\/09\/image-1-279x300.png 279w\" sizes=\"auto, (max-width: 568px) 100vw, 568px\" \/><\/figure>\n\n\n\n<p>\u3053\u306e\u3088\u3046\u306b\u30b0\u30ed\u30fc\u30d0\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u6d3b\u7528\u3057\u305f\u30b5\u30f3\u30d7\u30eb\u3092\u672c\u30d6\u30ed\u30b0\u30b5\u30a4\u30c8\u3067\u3082\u3044\u304f\u3064\u304b<a href=\"https:\/\/www.climb.co.jp\/blog_dbmoto\/?s=%E3%82%B0%E3%83%AD%E3%83%BC%E3%83%90%E3%83%AB%E3%82%B9%E3%82%AF%E3%83%AA%E3%83%97%E3%83%88&amp;cat=4\">\u3054\u7d39\u4ecb<\/a>\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u56de\u306b\u5f15\u304d\u7d9a\u304d\u3001 Syniti Data Replication (\u65e7DBMoto) \u3067\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u66f8\u304d\u65b9\u3092\u3054\u7d39\u4ecb\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3059\u3002\u4eca\u56de\u306f\u305d\u306e\u4e2d\u3067\u3082\u7279\u306b\u30b0\u30ed\u30fc\u30d0\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u57fa\u672c\u7684\u306a\u4f7f\u7528\u65b9\u6cd5\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002 \u30b0\u30ed\u30fc\u30d0 &hellip; <a href=\"https:\/\/www.climb.co.jp\/blog_dbmoto\/archives\/4674\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-4674","post","type-post","status-publish","format-standard","hentry","category-syniti"],"_links":{"self":[{"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/posts\/4674","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/comments?post=4674"}],"version-history":[{"count":5,"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/posts\/4674\/revisions"}],"predecessor-version":[{"id":4708,"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/posts\/4674\/revisions\/4708"}],"wp:attachment":[{"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/media?parent=4674"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/categories?post=4674"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/tags?post=4674"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}