Beispiel #1
0
 private void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (_context != null)
         {
             _context.Dispose();
             _context = null;
         }
     }
 }
Beispiel #2
0
 public void Dispose()
 {
     _context.Dispose();
     GC.SuppressFinalize(this);
 }