摘要:
private void DependencyInjection() { var builder = new ContainerBuilder(); builder.RegisterControllers(typeof(MvcApplication).Assembly);//把当前程序集中的Cont 阅读全文
posted @ 2017-11-06 10:11
樱满集
阅读(190)
评论(0)
推荐(0)
摘要:
Nuget引用 LinqKit.Microsoft.EntityFrameworkCore Microsoft.EntityFrameworkCore.SqlServer 然后新建类继承DbContext services.AddMvc(); public class STDbContext:DbC 阅读全文
posted @ 2017-11-06 09:59
樱满集
阅读(188)
评论(0)
推荐(0)

浙公网安备 33010602011771号