Beispiel #1
0
 public void Dispose()
 {
     if (_context == null)
     {
         return;
     }
     _context.Dispose();
     _context = null;
 }
Beispiel #2
0
 public UnitOfWork()
 {
     _context = new DataModelContainer();
 }