コード例 #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;
 }