2021年5月24日

.net core EF Dal层调用EF上下文

摘要: 可以使用注入的方式 services.AddDbContext<EFContext>(optionsAction => { var connectStr = Configuration.GetConnectionString("SqlServerConnection"); optionsAction 阅读全文

posted @ 2021-05-24 15:46 秋满虚爵 阅读(296) 评论(0) 推荐(0)

导航