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