mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-24 18:04:52 +08:00
VAT code
This commit is contained in:
parent
99b8259d0b
commit
fa7956c7c2
@ -671,17 +671,7 @@ namespace SqlSugar
|
||||
public void BeginTran()
|
||||
{
|
||||
_IsAllTran = true;
|
||||
AllClientEach(it =>
|
||||
{
|
||||
if (this.GetConnectionConfigIds.Any()&&this.GetConnectionConfigIds.Contains(it.CurrentConnectionConfig.ConfigId+""))
|
||||
{
|
||||
it.Ado.BeginTran();
|
||||
}
|
||||
else
|
||||
{
|
||||
it.Ado.BeginTran();
|
||||
}
|
||||
});
|
||||
AllClientEach(it => it.Ado.BeginTran());
|
||||
}
|
||||
public void CommitTran()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user