Esempio n. 1
0
 public ConnectedData()
 {
     context = new BusinessDBContext();
     context.Database.Migrate();
 }
Esempio n. 2
0
 private ShoppingCart(BusinessDBContext dBContext)
 {
     this.dBContext = dBContext;
 }
Esempio n. 3
0
 public CategoryRepository(BusinessDBContext businessDBContext)
 {
     this.businessDBContext = businessDBContext;
 }
Esempio n. 4
0
 public OrderRepository(BusinessDBContext dBContext, ShoppingCart shoppingCart)
 {
     this.dBContext    = dBContext;
     this.shoppingCart = shoppingCart;
 }
Esempio n. 5
0
 public PieRepository(BusinessDBContext businessDBContext)
 {
     db = businessDBContext;
 }
Esempio n. 6
0
 public SqlRestaurantData(BusinessDBContext db)
 {
     this.db = db;
 }