添加是否启用提示路由
This commit is contained in:
parent
9ffb14304d
commit
a15a4f61af
|
@ -1,8 +1,8 @@
|
|||
:start
|
||||
::定义版本
|
||||
set EFCORE2=2.2.0.10-pre
|
||||
set EFCORE3=3.2.0.10-pre
|
||||
set EFCORE5=5.2.0.10-pre
|
||||
set EFCORE2=2.2.0.11-pre
|
||||
set EFCORE3=3.2.0.11-pre
|
||||
set EFCORE5=5.2.0.11-pre
|
||||
|
||||
::删除所有bin与obj下的文件
|
||||
@echo off
|
||||
|
|
|
@ -24,7 +24,7 @@ namespace ShardingCore.Core.VirtualRoutes.TableRoutes
|
|||
/// <summary>
|
||||
/// 启用提示路由
|
||||
/// </summary>
|
||||
protected virtual bool EnableHintRoute => true;
|
||||
protected virtual bool EnableHintRoute => false;
|
||||
/// <summary>
|
||||
/// 跳过表达式路由
|
||||
/// </summary>
|
||||
|
|
|
@ -16,6 +16,8 @@ namespace ShardingCore.Test50.Shardings
|
|||
*/
|
||||
public class SysUserModVirtualTableRoute : AbstractSimpleShardingModKeyStringVirtualTableRoute<SysUserMod>
|
||||
{
|
||||
protected override bool EnableHintRoute => true;
|
||||
|
||||
public SysUserModVirtualTableRoute() : base(2,3)
|
||||
{
|
||||
}
|
||||
|
|
|
@ -11,6 +11,7 @@ namespace ShardingCore.Test50_2x.Shardings
|
|||
*/
|
||||
public class SysUserModVirtualTableRoute : AbstractSimpleShardingModKeyStringVirtualTableRoute<SysUserMod>
|
||||
{
|
||||
protected override bool EnableHintRoute => true;
|
||||
public SysUserModVirtualTableRoute() : base(2,3)
|
||||
{
|
||||
}
|
||||
|
|
|
@ -11,6 +11,7 @@ namespace ShardingCore.Test50_3x.Shardings
|
|||
*/
|
||||
public class SysUserModVirtualTableRoute : AbstractSimpleShardingModKeyStringVirtualTableRoute<SysUserMod>
|
||||
{
|
||||
protected override bool EnableHintRoute => true;
|
||||
public SysUserModVirtualTableRoute() : base(2,3)
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue