mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-30 22:10:22 +08:00
-
This commit is contained in:
parent
847f1ffc5d
commit
82a333dcc3
@ -74,7 +74,7 @@ namespace SqlSugar
|
||||
return result;
|
||||
}
|
||||
|
||||
public void Commit()
|
||||
public bool Commit()
|
||||
{
|
||||
if (this.IsTran && this.IsCommit == false)
|
||||
{
|
||||
@ -86,6 +86,7 @@ namespace SqlSugar
|
||||
this.Db.Close();
|
||||
IsClose = true;
|
||||
}
|
||||
return IsCommit;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user