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