public OrderManager(IContextContainer container)
     : base(container)
 {
     _orderDAO = new OrderDAO(container);
     _productDAO = new ProductDAO(container);
     _bonusDAO = new BonusDAO(container);
     _cartDAO = new ShoppingCartDAO(container);
     _addressInfoDAO = new AddressInfoDAO(container);
     _customerDAO = new CustomerDAO(container);
 }
示例#2
0
 public OrderManager(IContextContainer container)
     : base(container)
 {
     _orderDAO       = new OrderDAO(container);
     _productDAO     = new ProductDAO(container);
     _bonusDAO       = new BonusDAO(container);
     _cartDAO        = new ShoppingCartDAO(container);
     _addressInfoDAO = new AddressInfoDAO(container);
     _customerDAO    = new CustomerDAO(container);
 }
示例#3
0
 public ShoppingCartManager(IContextContainer container)
     : base(container)
 {
     _shoppingCartDAO = new ShoppingCartDAO(container);
     _productDAO      = new ProductDAO(container);
 }
 public ShoppingCartManager(IContextContainer container)
     : base(container)
 {
     _shoppingCartDAO = new ShoppingCartDAO(container);
     _productDAO = new ProductDAO(container);
 }