mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-23 04:23:47 +08:00
-
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user