Ejemplo n.º 1
0
        /// <summary>获得一个实例  </summary>
        public static Xb_product GetOneInstance()
        {
            Xb_product value = new Xb_product();

            return(value);
        }
Ejemplo n.º 2
0
        /// <summary></summary>
        public override ITableImplement af_GetOptionValueSchema()
        {
            Xb_product value = new Xb_product();


            if (BLLTable.IsExistOptionValue(this.TableName(), "CreateTime"))
            {
                value.createtime_initialized = true;
            }

            if (BLLTable.IsExistOptionValue(this.TableName(), "Date_desc"))
            {
                value.date_desc_initialized = true;
            }

            if (BLLTable.IsExistOptionValue(this.TableName(), "Discount_price"))
            {
                value.discount_price_initialized = true;
            }

            if (BLLTable.IsExistOptionValue(this.TableName(), "Expire_days"))
            {
                value.expire_days_initialized = true;
            }

            if (BLLTable.IsExistOptionValue(this.TableName(), "Id"))
            {
                value.id_initialized = true;
            }

            if (BLLTable.IsExistOptionValue(this.TableName(), "Is_have_buy"))
            {
                value.is_have_buy_initialized = true;
            }

            if (BLLTable.IsExistOptionValue(this.TableName(), "Lesson_num"))
            {
                value.lesson_num_initialized = true;
            }

            if (BLLTable.IsExistOptionValue(this.TableName(), "ModifyTime"))
            {
                value.modifytime_initialized = true;
            }

            if (BLLTable.IsExistOptionValue(this.TableName(), "Name"))
            {
                value.name_initialized = true;
            }

            if (BLLTable.IsExistOptionValue(this.TableName(), "Pic"))
            {
                value.pic_initialized = true;
            }

            if (BLLTable.IsExistOptionValue(this.TableName(), "Point_type"))
            {
                value.point_type_initialized = true;
            }

            if (BLLTable.IsExistOptionValue(this.TableName(), "Point_value"))
            {
                value.point_value_initialized = true;
            }

            if (BLLTable.IsExistOptionValue(this.TableName(), "Price"))
            {
                value.price_initialized = true;
            }

            if (BLLTable.IsExistOptionValue(this.TableName(), "Selled_num"))
            {
                value.selled_num_initialized = true;
            }

            if (BLLTable.IsExistOptionValue(this.TableName(), "Uuid"))
            {
                value.uuid_initialized = true;
            }

            if (BLLTable.IsExistOptionValue(this.TableName(), "Xb_product_type_id"))
            {
                value.xb_product_type_id_initialized = true;
            }

            return(value);
        }