
{"id":237,"date":"2008-01-19T15:43:00","date_gmt":"2008-01-19T15:43:00","guid":{"rendered":"http:\/\/www.sincebirth.cn\/?p=237"},"modified":"2008-01-19T15:43:00","modified_gmt":"2008-01-19T15:43:00","slug":"%e7%94%a8subsonic%e8%bf%9e%e6%8e%a5mysql%e6%95%b0%e6%8d%ae%e5%ba%93%e7%9a%84%e9%85%8d%e7%bd%ae","status":"publish","type":"post","link":"https:\/\/niuduer.sincebirth.space\/?p=237","title":{"rendered":"\u7528SubSonic\u8fde\u63a5MySql\u6570\u636e\u5e93\u7684\u914d\u7f6e"},"content":{"rendered":"<div id=\"blog_text\" class=\"cnt\">\n<p>\u5728\u9879\u76ee\u4e2d\u52a0\u5165SubSonic.dll\u7684\u5f15\u7528\uff1b<\/p>\n<p>\u5728\u9879\u76eeweb.config\u7684configuration\u4e2d\u52a0\u5165<\/p>\n<p><font color=\"#ff6600\">&lt;configSections&gt;<br \/>\n&nbsp;&nbsp;  &lt;section name=&quot;SubSonicService&quot; type=&quot;SubSonic.SubSonicSection, SubSonic&quot; requirePermission=&quot;false&quot;\/&gt;<br \/>\n&lt;\/configSections&gt;<\/font><\/p>\n<p><font color=\"#ff6600\">&lt;connectionStrings&gt;<br \/>\n&nbsp;&nbsp;  &lt;clear\/&gt;<br \/>\n&nbsp;&nbsp;  &lt;add name=&quot;MySqlDataConnection&quot; connectionString=&quot;Data Source=dataserveripornamepipe;Database=database;User ID=username;Password=password&quot;\/&gt;<br \/>\n&lt;\/connectionStrings&gt;<br \/>\n&lt;SubSonicService defaultProvider=&quot;MySqlData&quot;&gt;<br \/>\n&nbsp;&nbsp;  &lt;providers&gt;<br \/>\n&nbsp;&nbsp;&nbsp;  &lt;clear\/&gt;&nbsp;&nbsp;&nbsp;<br \/>\n&nbsp;&nbsp;&nbsp;  &lt;add name=&quot;MySqlData&quot; type=&quot;SubSonic.MySqlDataProvider,SubSonic&quot; connectionStringName=&quot;OracleDataConnection&quot; generatedNamespace=&quot;MySqlDataDomain&quot;\/&gt;<br \/>\n&nbsp;&nbsp;  &lt;\/providers&gt;<br \/>\n&lt;\/SubSonicService&gt;<\/font><\/p>\n<p><font color=\"#ff6600\"><font color=\"#000000\">\u7136\u540eSubSonic DAL\uff0c\u53c2\u7167<\/font><a href=\"http:\/\/hi.baidu.com\/beloving\/blog\/item\/472d17ce1ed17e3ab600c8a9.html\">http:\/\/hi.baidu.com\/beloving\/blog\/item\/472d17ce1ed17e3ab600c8a9.html<\/a><\/font><\/p>\n<p><font color=\"#000000\">\u6ce8\uff1a\u5982\u679c\u540c\u4e00\u4e2a\u9879\u76ee\u4e2d\u6709\u591a\u4e2a\u6570\u636e\u5e93\uff0c\u751a\u81f3\u662f\u591a\u79cd\uff0c\u5982Sql Server\uff0bOracle+MySql\uff0c\u5efa\u8bae\u7528\u4e0d\u540c\u7684Namespace\uff0c\u8fd9\u6837Generated\u76ee\u5f55\u4e2d\u4f1a\u51fa\u73b0\u591a\u4e2a\u76f8\u5e94\u6587\u4ef6\u5939\u6765\u5b58\u653e\u76f8\u5e94\u7684\u6570\u636e\u7c7b\u3002<\/font><\/p>\n<p><font color=\"#000000\">\u6d4b\u8bd5\u4e2d\u6211\u7528\u7684discuz\u6570\u636e\u5e93\uff0c\u8f93\u51fa\u754c\u9762\u663e\u793a\u5982\u4e0b\u4fe1\u606f\uff1a<\/font><\/p>\n<p><font color=\"#ff6600\">Generating ODS Controllers for MySqlData (201 total) that&#8217;s a serious amount of tables to generate. But we can handle it. You just will need to be patient and go get some coffee while we do this thang&#8230;<\/font><\/p>\n<p><font color=\"#000000\">\u5475\u5475<\/font><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u5728\u9879\u76ee\u4e2d\u52a0\u5165SubSonic.dll\u7684\u5f15\u7528\uff1b \u5728\u9879\u76eeweb.config\u7684configuration\u4e2d\u52a0\u5165 &#038; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-237","post","type-post","status-publish","format-standard","hentry","category-all"],"views":1359,"_links":{"self":[{"href":"https:\/\/niuduer.sincebirth.space\/index.php?rest_route=\/wp\/v2\/posts\/237","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/niuduer.sincebirth.space\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/niuduer.sincebirth.space\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/niuduer.sincebirth.space\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/niuduer.sincebirth.space\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=237"}],"version-history":[{"count":0,"href":"https:\/\/niuduer.sincebirth.space\/index.php?rest_route=\/wp\/v2\/posts\/237\/revisions"}],"wp:attachment":[{"href":"https:\/\/niuduer.sincebirth.space\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=237"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/niuduer.sincebirth.space\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=237"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/niuduer.sincebirth.space\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}