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