输入banner图图片脚本导航/分类

轻量ORM-SqlRepoEx (八)MySQL、Sql Service 迁移

     using SqlRepoEx.MySql.ServiceCollection;

第三步、更改ConnectionString 字串为 string ConnectionString = "datasource=127.0.0.1;username=test;password=test;database=northwind;charset=gb2312;SslMode = none;";


            然后,就没了

就这么简单,其他的不用改

就这么简单,其他的不用改

就这么简单,其他的不用改

技术分享图片

 

技术分享图片 

为演示代码,我在MySql中增加了`customers` 个,其结构与数据与Northwind数据库Customers表相同。

源码见:

https://gitee.com/azthinker/SqlRepoEx2.0DemoForAspCore

https://github.com/AzThinker/SqlRepoEx2.0DemoForAspCore

 

轻量ORM-SqlRepoEx (八)MySQL、Sql Service 迁移

标签:bsp   mss   base   demo   mod   结构   database   test   epo