Пример #1
0
        /// <summary>
        /// 构造函数
        /// </summary>
        public Goods()
        {
            if (_goods == null)
            {
                this._goods = new GoodsDAL();
            }

            if (_lable == null)
            {
                this._lable = new LableDAL();
            }
        }
Пример #2
0
 public TeaController(I_Goods goods, I_Lable lable, I_Relate letate)
 {
     this._goods  = goods;
     this._lable  = lable;
     this._letale = letate;
 }