예제 #1
0
 public GoodsBLL(Object startupPath)
 {
     DALFactory.StartupPath = startupPath as String;
     dal = DALFactory.CreateGoodsInstance();
 }
예제 #2
0
 public Goods(IGoodsDAL goodsDAL)
 {
     _goodsDAL = goodsDAL;
 }
예제 #3
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="goodsDal"></param>
 public GoodsBLL(IGoodsDAL goodsDal)
 {
     this._goodsDal = goodsDal;
 }
예제 #4
0
 public GoodsBLL(IGoodsDAL goodsDAL)
 {
     _goodsDAL = goodsDAL;
 }
예제 #5
0
 public GoodsService(string containerName)
 {
     this.containerName = containerName;
     StaffDAL           = DALContainer.Resolve <IGoodsDAL>(this.containerName);
     Dal = StaffDAL;
 }