{"id":3404,"date":"2017-07-28T17:53:19","date_gmt":"2017-07-28T08:53:19","guid":{"rendered":"https:\/\/www.climb.co.jp\/blog_dbmoto\/?p=3404"},"modified":"2017-07-31T13:48:28","modified_gmt":"2017-07-31T04:48:28","slug":"__trashed-2","status":"publish","type":"post","link":"https:\/\/www.climb.co.jp\/blog_dbmoto\/archives\/3404","title":{"rendered":"[DBMoto]\u300c\u672a\u30de\u30c3\u30d4\u30f3\u30b0\u4f7f\u7528\u300d\u6a5f\u80fd\u306b\u3088\u308b\u30de\u30c3\u30d4\u30f3\u30b0\u5916\u306e\u30c7\u30fc\u30bf\u3092\u6d3b\u7528\u3057\u305f\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3"},"content":{"rendered":"<p><span style=\"color: #333333;\"><span style=\"font-family: \u6e38\u660e\u671d; background-color: white;\">\u7570\u7a2e<\/span><span style=\"font-family: Arial; background-color: white;\">DB<\/span><span style=\"font-family: \u6e38\u660e\u671d; background-color: white;\">\u9593\u3067\u30ec\u30b3\u30fc\u30c9\u30c7\u30fc\u30bf\u3092\u9023\u643a\u3067\u304d\u308b<\/span><span style=\"font-family: Arial; background-color: white;\"><strong>DBMoto<\/strong><\/span><span style=\"font-family: \u6e38\u660e\u671d; background-color: white;\">\u3002\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f7f\u7528\u3057\u3066<a href=\"https:\/\/www.climb.co.jp\/blog_dbmoto\/archives\/2515\">\u6761\u4ef6\u4ed8\u304d\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3<\/a>\u3092\u5b9f\u65bd\u3067\u304d\u308b\u6a5f\u80fd\u3082\u642d\u8f09\u3055\u308c\u3066\u304a\u308a\u307e\u3059\u3002<\/span><\/span><\/p>\n<p><span style=\"color: #333333;\"><span style=\"font-family: \u6e38\u660e\u671d; background-color: white;\">DBMoto\u3067\u306f\u30de\u30c3\u30d4\u30f3\u30b0\u5bfe\u8c61\u4ee5\u5916\u306e\u30ab\u30e9\u30e0\u3082\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u4f7f\u7528\u3067\u304d\u308b\u300c<strong>\u672a\u30de\u30c3\u30d4\u30f3\u30b0\u4f7f\u7528<\/strong>\u300d\u3068\u3044\u3046\u6a5f\u80fd\u3082\u642d\u8f09\u3057\u3066\u304a\u308a\u307e\u3059\u3002\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5bfe\u8c61\u3067\u306f\u306a\u3044\u304c\u3001\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u3059\u308b\u30c7\u30fc\u30bf\u3068\u3057\u3066\u306f\u4f7f\u7528\u3057\u305f\u3044\u6642\u306a\u3069\u306b\u6d3b\u7528\u3067\u304d\u307e\u3059\u3002<\/span><span style=\"font-family: Arial; background-color: white;\"><br \/>\n<\/span><\/span><\/p>\n<p><span style=\"color: #333333;\"><span style=\"font-size: 13pt; text-decoration: underline;\"><strong><span style=\"font-family: Arial;\">\u25cf<\/span><span style=\"font-family: \u6e38\u660e\u671d;\">\u8a2d\u5b9a\u4f8b<\/span><\/strong><\/span><span style=\"font-family: Arial; background-color: white;\"><br \/>\n<\/span><\/span><\/p>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30de\u30c3\u30d4\u30f3\u30b0\u8a2d\u5b9a\u3068\u3057\u307e\u3059\u3002\u5de6\u5074\u30bd\u30fc\u30b9\u30c6\u30fc\u30d6\u30eb\u306e\u300c<strong>C2<\/strong>\u300d\u306f\u30bf\u30fc\u30b2\u30c3\u30c8\u30c6\u30fc\u30d6\u30eb\u306b\u306f\u306a\u3044\u30d5\u30a3\u30fc\u30eb\u30c9\u3067\u3042\u308a\u3001\u30de\u30c3\u30d4\u30f3\u30b0\u5bfe\u8c61\u5916\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-content\/uploads\/2017\/07\/072817_0907_DBMoto1.png\" alt=\"\" \/><\/p>\n<p>\u30bd\u30fc\u30b9\u30c6\u30fc\u30d6\u30eb\u306b\u306f\u9069\u5f53\u306a\uff12\u4ef6\u306e\u30ec\u30b3\u30fc\u30c9\u304c\u5165\u3063\u3066\u304a\u308a\u3001\u30bf\u30fc\u30b2\u30c3\u30c8\u30c6\u30fc\u30d6\u30eb\u306f\u7a7a\u30c7\u30fc\u30bf\u3067\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-content\/uploads\/2017\/07\/072817_0907_DBMoto2.png\" alt=\"\" \/><\/p>\n<p>\u305d\u3057\u3066\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u30b9\u30af\u30ea\u30d7\u30c8\u306b\u4e0b\u8a18\u306e\u3088\u3046\u306a\u300cC2\u300d\u306e\u5024\u304c\uff11\u306e\u5834\u5408\u3001\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u30b9\u30ad\u30c3\u30d7\u3059\u308b\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: vb; title: ; notranslate\" title=\"\">\r\nImports System\r\nImports System.Data\r\nImports Microsoft.VisualBasic\r\nImports DBMotoPublic\r\nImports DBMotoScript\r\nImports DBRS.GlobalScript\r\n\r\nNamespace DBRS\r\n    Public Class ReplicationScript : Inherits IReplicationScript\r\n        Public Overrides Sub Record_onAfterMapping(recSource As IRecord, recTarget As IRecord, ByRef AbortRecord As Boolean, ByRef DisableReplication As Boolean)\r\n            'C2\u304c1\u306e\u30ec\u30b3\u30fc\u30c9\u306f\u30b9\u30ad\u30c3\u30d7\r\n            If recSource.GetValueAfter(&quot;C2&quot;) = &quot;1&quot; Then\r\n                AbortRecord=True\r\n        \u3000\u3000 End If\r\n       End Sub\r\n    End Class\r\nEnd Namespace\r\n\r\n<\/pre>\n<p>\u901a\u5e38\u3067\u3059\u3068\u30de\u30c3\u30d4\u30f3\u30b0\u5bfe\u8c61\u5916\u306e\u300cC2\u300d\u306e\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3067\u304d\u305a\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u5b9f\u65bd\u3067\u304d\u307e\u305b\u3093\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-content\/uploads\/2017\/07\/072817_0907_DBMoto3.png\" alt=\"\" \/><\/p>\n<p>\u30de\u30c3\u30d4\u30f3\u30b0\u8a2d\u5b9a\u753b\u9762\u304b\u3089\u30bd\u30fc\u30b9\u30c6\u30fc\u30d6\u30eb\u306e\u300cC2\u300d\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u53f3\u30af\u30ea\u30c3\u30af\u3057\u3001\u300c<strong>\u672a\u30de\u30c3\u30d4\u30f3\u30b0\u4f7f\u7528<\/strong>\u300d\u3092\u9078\u629e\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-content\/uploads\/2017\/07\/072817_0907_DBMoto4.png\" alt=\"\" \/><\/p>\n<p>\u300cC2\u300d\u306e\u30c7\u30fc\u30bf\u3092\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u4f7f\u7528\u3067\u304d\u308b\u305f\u3081\u3001\uff11\u306e\u5024\u306e\u30ec\u30b3\u30fc\u30c9\u306e\u307f\u30b9\u30ad\u30c3\u30d7\u3059\u308b\u60f3\u5b9a\u901a\u308a\u306e\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u304c\u5b9f\u65bd\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-content\/uploads\/2017\/07\/072817_0907_DBMoto5.png\" alt=\"\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7570\u7a2eDB\u9593\u3067\u30ec\u30b3\u30fc\u30c9\u30c7\u30fc\u30bf\u3092\u9023\u643a\u3067\u304d\u308bDBMoto\u3002\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u4f7f\u7528\u3057\u3066\u6761\u4ef6\u4ed8\u304d\u30ec\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u65bd\u3067\u304d\u308b\u6a5f\u80fd\u3082\u642d\u8f09\u3055\u308c\u3066\u304a\u308a\u307e\u3059\u3002 DBMoto\u3067\u306f\u30de\u30c3\u30d4\u30f3\u30b0\u5bfe\u8c61\u4ee5\u5916\u306e\u30ab\u30e9\u30e0\u3082\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u4f7f\u7528\u3067\u304d\u308b\u300c\u672a\u30de\u30c3\u30d4\u30f3\u30b0\u4f7f\u7528 &hellip; <a href=\"https:\/\/www.climb.co.jp\/blog_dbmoto\/archives\/3404\">\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":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-3404","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\/3404","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=3404"}],"version-history":[{"count":6,"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/posts\/3404\/revisions"}],"predecessor-version":[{"id":3415,"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/posts\/3404\/revisions\/3415"}],"wp:attachment":[{"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/media?parent=3404"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/categories?post=3404"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.climb.co.jp\/blog_dbmoto\/wp-json\/wp\/v2\/tags?post=3404"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}