修复bug
This commit is contained in:
parent
4b5b987fdc
commit
b058b66a3a
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue