时间:2021-07-01 10:21:17 帮助过:3人阅读
为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