Synchronization code

This commit is contained in:
sunkaixuan
2022-12-11 22:22:56 +08:00
parent 9fdde20430
commit 70a40ee578
3 changed files with 3 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ namespace SqlSugar
private List<ConnectionConfig> _configs; private List<ConnectionConfig> _configs;
private Action<SqlSugarClient> _configAction; private Action<SqlSugarClient> _configAction;
private SqlSugarClient GetContext() protected virtual SqlSugarClient GetContext()
{ {
SqlSugarClient result = null; SqlSugarClient result = null;
var key = _configs.GetHashCode().ToString(); var key = _configs.GetHashCode().ToString();

View File

@@ -69,7 +69,7 @@ namespace SqlSugar
} }
} }
} }
private SqlSugarProvider GetContext(bool isInit = false) protected virtual SqlSugarProvider GetContext(bool isInit = false)
{ {
SqlSugarProvider result = null; SqlSugarProvider result = null;
var key = GetKey(); ; var key = GetKey(); ;

View File

@@ -1350,7 +1350,7 @@ namespace SqlSugar
); );
} }
private void InitContext(ConnectionConfig config) protected virtual void InitContext(ConnectionConfig config)
{ {
var aopIsNull = config.AopEvents == null; var aopIsNull = config.AopEvents == null;
if (aopIsNull) if (aopIsNull)