This commit is contained in:
sunkaixuan 2022-05-24 11:12:34 +08:00
parent 847f1ffc5d
commit 82a333dcc3

View File

@ -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;
}
}
}