/// <summary> /// Initializes a new instance of the <see cref="OrderBillServices"/> class. /// </summary> public OrderBillServices() { this.orderBillDA = new DAFactoryTransact().CreateOrderBillDA(); this.promoteMeetAmountRuleDA = new DAFactoryPromote().CreatePromoteMeetAmountRuleDA(); this.promoteMeetMoneyRuleDA = new DAFactoryPromote().CreatePromoteMeetMoneyRuleDA(); this.productDA = new DAFactoryProduct().CreateProductDA(); this.couponCashDA = new DAFactoryPromote().CreateCouponCashDA(); this.couponDecreaseDA = new DAFactoryPromote().CreateCouponDecreaseDA(); }
/// <summary> /// Initializes a new instance of the <see cref="ProductService"/> class. /// </summary> public ProductService() { this.productDA = new DAFactoryProduct().CreateProductDA(); this.productAttributeValueSetDA = new DAFactoryProduct().CreateProductAttributeValueSetDA(); this.productPictureDA = new DAFactoryProduct().CreateProductPictureDA(); }
public ProductManager(IProductDA _iProduct) { iProduct = _iProduct; }
public ProductManagement(IProductDA iProductDA) { _iProductDA = iProductDA; }
public ProductSL(IProductDA productDA) { this.productDA = productDA; }