/// <summary> /// 构造函数 /// </summary> public Goods() { if (_goods == null) { this._goods = new GoodsDAL(); } if (_lable == null) { this._lable = new LableDAL(); } }
public TeaController(I_Goods goods, I_Lable lable, I_Relate letate) { this._goods = goods; this._lable = lable; this._letale = letate; }