예제 #1
0
 public CoffeeCategoryDataAccess(ICoffeeShopDatabaseFactory factory)
 {
     this.coffeeDatabase = factory.GetCoffeeDatabase();
 }
예제 #2
0
 public OrderDetailDataAccess(ICoffeeShopDatabaseFactory factory)
 {
     this.coffeeDatabase = factory.GetCoffeeDatabase();
 }
 public ShoppingBasketDataAccess(ICoffeeShopDatabaseFactory factory, ICoffeeDataAccess coffeeDataAccess)
 {
     this.coffeeDatabase   = factory.GetCoffeeDatabase();
     this.coffeeDataAccess = coffeeDataAccess;
 }