Пример #1
0
 public void Dispose()
 {
     if (_context != null)
     {
         _context.Dispose();
     }
     GC.SuppressFinalize(this);
 }
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         db.Dispose();
     }
     base.Dispose(disposing);
 }
 public void Dispose()
 {
     ctx.Dispose();
 }
 public void Dispose()
 {
     _context.Dispose();
 }
Пример #5
0
 public void Dispose()
 {
     Context.Dispose();
 }
Пример #6
0
 public void Dispose()
 {
     contexto.Dispose();
 }
Пример #7
0
 public void Dispose()
 {
     context.Dispose();
     disposed = true;
 }