摘要: (1)首先创建一个.net core web api web项目; (2)因为我们使用的是ef连接mysql数据库,通过NuGet安装MySql.Data.EntityFrameworkCore,以来的ef core 也会被安装. (2)在appsettings.json中添加如下数据库连接字符串. 阅读全文
posted @ 2018-12-15 01:11 tuohaibei 阅读(393) 评论(0) 推荐(0) 编辑