测试使用代理模式

This commit is contained in:
xuejiaming 2022-10-31 23:35:33 +08:00
parent cef363552b
commit c34b3a816d
1 changed files with 1 additions and 0 deletions

View File

@ -56,6 +56,7 @@ namespace ShardingCore.Test
})
.UseConfig(op =>
{
//op.UseEntityFrameworkCoreProxies = true;
//当无法获取路由时会返回默认值而不是报错
op.ThrowIfQueryRouteNotMatch = false;
//忽略建表错误compensate table和table creator