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

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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            return(value);
        }