コード例 #1
0
 public InventoryRepository(Project0StoreContext context)
 {
     this.context = context;
     table        = this.context.Set <Inventory>();
 }
コード例 #2
0
 public CustomerRepository(Project0StoreContext context)
 {
     this.context = context;
     table        = context.Set <Customer>();
 }
コード例 #3
0
 public InventoryRepository()
 {
     context = new Project0StoreContext();
     table   = context.Set <Inventory>();
 }
コード例 #4
0
 public OrdersRepository(Project0StoreContext context)
 {
     this.context = context;
     table        = this.context.Set <Orders>();
 }
コード例 #5
0
 public CustomerRepository()
 {
     context = new Project0StoreContext();
     table   = context.Set <Customer>();
 }
コード例 #6
0
 public OrdersRepository()
 {
     context = new Project0StoreContext();
     table   = context.Set <Orders>();
 }
コード例 #7
0
 public GenericRepository(Project0StoreContext _context)
 {
     this._context = _context;
     table         = _context.Set <T>();
 }
コード例 #8
0
 public GenericRepository()
 {
     this._context = new Project0StoreContext();
     table         = _context.Set <T>();
 }
コード例 #9
0
 public LocationRepository(Project0StoreContext context)
 {
     this.context = context;
     table        = this.context.Set <Location>();
 }
コード例 #10
0
 public LocationRepository()
 {
     context = new Project0StoreContext();
     table   = context.Set <Location>();
 }