|
@ -750,7 +750,7 @@ namespace SqlSugar |
|
|
{ |
|
|
{ |
|
|
var attr = typeof(T).GetCustomAttribute<TenantAttribute>(); |
|
|
var attr = typeof(T).GetCustomAttribute<TenantAttribute>(); |
|
|
if (attr == null) |
|
|
if (attr == null) |
|
|
return this.GetConnection(this.CurrentConnectionConfig.ConfigId); |
|
|
return this.GetConnectionScope(this.CurrentConnectionConfig.ConfigId); |
|
|
var configId = attr.configId; |
|
|
var configId = attr.configId; |
|
|
return this.GetConnectionScope(configId); |
|
|
return this.GetConnectionScope(configId); |
|
|
} |
|
|
} |
|
|