修复bug

This commit is contained in:
xuejiaming 2023-05-11 12:33:34 +08:00
parent 4b5b987fdc
commit b058b66a3a
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ namespace ShardingCore.Extensions
} }
} }
shardingDbContextExecutor.ReadWriteSeparationBehavior = ReadWriteDefaultEnableBehavior.DefaultEnable; shardingDbContextExecutor.ReadWriteSeparationBehavior = readOnly?ReadWriteDefaultEnableBehavior.DefaultEnable:ReadWriteDefaultEnableBehavior.DefaultDisable;
} }
public static void SetReadWriteSeparation(this ShardingReadWriteContext shardingReadWriteContext, int priority, public static void SetReadWriteSeparation(this ShardingReadWriteContext shardingReadWriteContext, int priority,