示例#1
0
 //initializes the DBContext by creating an instance of InventoryDBContext
 public StockRepo(InventoryDBContext context)
 {
     this._context = context;
 }
 //Initializes the DBCOntext by creating an instance
 public CustomerRepo(InventoryDBContext context)
 {
     this._context = context;
 }