Beispiel #1
0
 public OrderData(WebInABoxDbContext db)
 {
     this.db = db;
 }
 public CustomerData(WebInABoxDbContext db)
 {
     this.db = db;
 }
Beispiel #3
0
 //must add product data constructor to create instance of WebInABoxDbContext.cs
 //Enter dbcontext and db parameters then create field for db
 public ProductData(WebInABoxDbContext db)
 {
     this.db = db;
 }