mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-24 16:18:47 +08:00
Synchronization code
This commit is contained in:
parent
7a7f5d3d11
commit
60363db476
@ -802,7 +802,7 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
Check.ArgumentNullException(connection, "AddConnection.connection can't be null");
|
Check.ArgumentNullException(connection, "AddConnection.connection can't be null");
|
||||||
InitTenant();
|
InitTenant();
|
||||||
var db = this._AllClients.FirstOrDefault(it => it.ConnectionConfig.ConfigId == connection.ConfigId);
|
var db = this._AllClients.FirstOrDefault(it => ((object)it.ConnectionConfig.ConfigId).ObjToString() == ((object)connection.ConfigId).ObjToString());
|
||||||
if (db == null)
|
if (db == null)
|
||||||
{
|
{
|
||||||
if (this._AllClients == null)
|
if (this._AllClients == null)
|
||||||
|
Loading…
Reference in New Issue
Block a user