.net core EF Dal层调用EF上下文
摘要:
可以使用注入的方式 services.AddDbContext<EFContext>(optionsAction => { var connectStr = Configuration.GetConnectionString("SqlServerConnection"); optionsAction 阅读全文
posted @ 2021-05-24 15:46 秋满虚爵 阅读(296) 评论(0) 推荐(0)
浙公网安备 33010602011771号