Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="OrderService"/> class.
 /// </summary>
 public OrderService()
 {
     this.orderDA = new DAFactoryTransact().CreateOrderDA();
 }
Ejemplo n.º 2
0
 /// <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();
 }
Ejemplo n.º 3
0
 public OrderManager(IOrderDA _iorder)
 {
     iorder = _iorder;
 }
Ejemplo n.º 4
0
 /// <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();
 }
Ejemplo n.º 5
0
 public OrderSL(IOrderDA orderDA)
 {
     this.orderDA = orderDA;
 }