public UnitOfWork(CedroContext context)
 {
     _context = context;
 }
Beispiel #2
0
 public RestaurantRepository(CedroContext context) : base(context)
 {
 }
Beispiel #3
0
 public MenuRepository(CedroContext context) : base(context)
 {
 }
Beispiel #4
0
 public ReviewRepository(CedroContext context) : base(context)
 {
 }
 public RestauranteRepository(CedroContext db) : base(db)
 {
 }
Beispiel #6
0
 public Repository(CedroContext context)
 {
     _context = context;
     _dbSet   = _context.Set <TEntity>();
 }
Beispiel #7
0
 public Repository(CedroContext db)
 {
     Db    = db;
     DbSet = Db.Set <TEntity>();
 }
 public PratoRepository(CedroContext db) : base(db)
 {
 }