Beispiel #1
0
          public DbTableRepository(ICMDBContext db)
      {
          _db = db;

          _db.Configuration.LazyLoadingEnabled   = false;
          _db.Configuration.ProxyCreationEnabled = false;
          _table = _db.Set <T>();
      }