private void Dispose(bool disposing) { if (disposing) { if (_context != null) { _context.Dispose(); _context = null; } } }
public OrderRepository(StoreDataContext context) { this._context = context; }
public CategoryRepository(StoreDataContext context) { this._context = context; }
public UnitOfWork(StoreDataContext context) { _context = context; }
public ProductRepository(StoreDataContext context) { this._context = context; }