mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
db.UseTran BUG
This commit is contained in:
parent
71f61fe36d
commit
e656e15db6
@ -940,6 +940,11 @@ namespace SqlSugar
|
||||
}
|
||||
private void AllClientEach(Action<ISqlSugarClient> action)
|
||||
{
|
||||
if (this._AllClients == null)
|
||||
{
|
||||
this._AllClients = new List<SugarTenant>();
|
||||
this._AllClients.Add(new SugarTenant() { ConnectionConfig=this.CurrentConnectionConfig, Context=this.Context });
|
||||
}
|
||||
if (_AllClients.HasValue())
|
||||
{
|
||||
foreach (var item in _AllClients.Where(it => it.Context.HasValue()))
|
||||
|
Loading…
Reference in New Issue
Block a user