public void Dispose() { if (_context == null) { return; } _context.Dispose(); _context = null; }
public UnitOfWork() { _context = new DataModelContainer(); }
public void Dispose() { if (_context == null) { return; } _context.Dispose(); _context = null; }
public UnitOfWork() { _context = new DataModelContainer(); }