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