public DbTableRepository(ICMDBContext db) { _db = db; _db.Configuration.LazyLoadingEnabled = false; _db.Configuration.ProxyCreationEnabled = false; _table = _db.Set <T>(); }
public DbTableRepository(ICMDBContext db) { _db = db; _db.Configuration.LazyLoadingEnabled = false; _db.Configuration.ProxyCreationEnabled = false; _table = _db.Set <T>(); }