/// <summary> /// Initializes a new instance of the <see cref="OrderService"/> class. /// </summary> public OrderService() { this.orderDA = new DAFactoryTransact().CreateOrderDA(); }
/// <summary> /// 实例化订单服务对象 /// </summary> /// <param name="userID">用户编码</param> /// <param name="isBackage">当前环境是否为后台</param> public OrderService(int userID, bool isBackage) { this.isBackage = isBackage; this.userID = userID; this.orderDA = new DAFactoryTransact().CreateOrderDA(); }
public OrderManager(IOrderDA _iorder) { iorder = _iorder; }
/// <summary> /// Initializes a new instance of the <see cref="OrderService"/> class. /// </summary> /// <param name="userID"> /// 职员编码 /// </param> public OrderService(int userID) { this.userID = userID; this.orderDA = new DAFactoryTransact().CreateOrderDA(); }
public OrderSL(IOrderDA orderDA) { this.orderDA = orderDA; }