Beispiel #1
0
 public Repository(FerrexContext db)
 {
     _db   = db;
     dbSet = _db.Set <TEntity>();
 }
Beispiel #2
0
 public ProductRepository(FerrexContext db) : base(db) => _db = db;
 public CategoryRepository(FerrexContext db) : base(db) => _db = db;