Пример #1
0
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         dbPersons.Dispose();
     }
     base.Dispose(disposing);
 }
Пример #2
0
 public void Dispose()
 {
     _context.Dispose();
 }