示例#1
0
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         db.Dispose();
     }
     base.Dispose(disposing);
 }
 public virtual void Dispose()
 {
     sqlContext.Dispose();
 }
示例#3
0
 public void Dispose()
 {
     Db.Dispose();
     GC.SuppressFinalize(this);
 }
 public void Dispose()
 {
     context.Dispose();
 }
示例#5
0
 public void Dispose()
 {
     sqlContext.Dispose();
 }
示例#6
0
 public void Dispose()
 {
     context.Dispose();
     GC.SuppressFinalize(this);
 }