public ConnectedData() { context = new BusinessDBContext(); context.Database.Migrate(); }
private ShoppingCart(BusinessDBContext dBContext) { this.dBContext = dBContext; }
public CategoryRepository(BusinessDBContext businessDBContext) { this.businessDBContext = businessDBContext; }
public OrderRepository(BusinessDBContext dBContext, ShoppingCart shoppingCart) { this.dBContext = dBContext; this.shoppingCart = shoppingCart; }
public PieRepository(BusinessDBContext businessDBContext) { db = businessDBContext; }
public SqlRestaurantData(BusinessDBContext db) { this.db = db; }