摘要: 1、EF Core 使用的补充 1) 创建 接口 IEFCoreService 2) 实现 接口 EFCoreService 3) 在Startup.cs 中注册 ef 服务 并在控制器中注入使用 (这种方式不规范,只是对其基本使用的一些操作) 注册服务代码 services.AddScoped<I 阅读全文
posted @ 2020-03-13 03:32 小七要走 阅读(235) 评论(0) 推荐(0) 编辑