This commit is contained in:
sunkaixuan 2017-09-06 10:58:40 +08:00
parent 39fd186c29
commit 60c328333f

View File

@ -535,16 +535,12 @@ namespace SqlSugar
public virtual void Close() public virtual void Close()
{ {
if (this.Ado != null) if (this.Ado != null)
{
this.Ado.Close(); this.Ado.Close();
}
} }
public virtual void Dispose() public virtual void Dispose()
{ {
if (this.Ado != null) if (this.Ado != null)
{
this.Ado.Dispose(); this.Ado.Dispose();
}
} }
#endregion #endregion
} }