会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
小七要走
我只想让那星河再亮一些
博客园
首页
新随笔
联系
管理
订阅
2020年3月13日
XiaoQi.Study 之 .net core webapi (二)
摘要: 1、EF Core 使用的补充 1) 创建 接口 IEFCoreService 2) 实现 接口 EFCoreService 3) 在Startup.cs 中注册 ef 服务 并在控制器中注入使用 (这种方式不规范,只是对其基本使用的一些操作) 注册服务代码 services.AddScoped<I
阅读全文
posted @ 2020-03-13 03:32 小七要走
阅读(235)
评论(0)
推荐(0)
编辑
公告