mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-22 20:13:41 +08:00
Remove useless code
This commit is contained in:
@@ -141,10 +141,10 @@ namespace SqlSugar
|
|||||||
this.Transaction.Rollback();
|
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)
|
||||||
{
|
//{
|
||||||
this.Connection.Close();
|
// this.Connection.Close();
|
||||||
}
|
//}
|
||||||
if (this.Connection != null)
|
if (this.Connection != null)
|
||||||
{
|
{
|
||||||
this.Connection.Dispose();
|
this.Connection.Dispose();
|
||||||
|
Reference in New Issue
Block a user