protected virtual void Dispose(bool disposing) { if (disposing) { if (this.db != null) { this.db.Dispose(); this.db = null; } } }
public AmagerbroElectronicsRep() { db = new AmagerbroDbContext(); dbSet = db.Set <T>(); }
public AmagerbroClothesRep() { db = new AmagerbroDbContext(); dbSet = db.Set <T>(); }
public AmagerbroFoodRep() { db = new AmagerbroDbContext(); dbSet = db.Set <T>(); }