mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-11-10 11:25:00 +08:00
Update db.dispose
This commit is contained in:
@@ -101,7 +101,7 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
if (this.Transaction != null)
|
if (this.Transaction != null)
|
||||||
{
|
{
|
||||||
this.Transaction.Commit();
|
this.Transaction.Rollback();
|
||||||
this.Transaction = null;
|
this.Transaction = null;
|
||||||
}
|
}
|
||||||
if (this.Connection != null && this.Connection.State != ConnectionState.Open)
|
if (this.Connection != null && this.Connection.State != ConnectionState.Open)
|
||||||
|
|||||||
Reference in New Issue
Block a user