예제 #1
0
 public GenericRepository(ThePizzaDBContext context)
 {
     this._dBContext = context;
     this._dBSet     = _dBContext.Set <T>();
 }
예제 #2
0
 public ProductRepository(ThePizzaDBContext context) : base(context)
 {
     _context = context;
 }
예제 #3
0
 public RepositoryWrapper(ThePizzaDBContext context)
 {
     _repoContext = context;
 }
예제 #4
0
 public ToppingRepository(ThePizzaDBContext context) : base(context)
 {
 }