This commit is contained in:
xuejiaming 2021-08-27 13:31:50 +08:00
parent 519fe66a06
commit c59194eb84
1 changed files with 1 additions and 0 deletions

View File

@ -39,6 +39,7 @@ namespace Sample.SqlServer
);//使用链接字符串创建dbcontext
op.AddShardingTableRoute<SysUserModVirtualTableRoute>();
});
////不支持MARS不支持追踪的
//services.AddShardingDbContext<DefaultShardingDbContext, DefaultTableDbContext>(o => o.UseSqlServer("Data Source=localhost;Initial Catalog=ShardingCoreDBxx2;Integrated Security=True;")
// , op =>