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