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