示例#1
0
        /// <summary></summary>
        public override ITableImplement af_GetOptionValueSchema()
        {
            TCity value = new TCity();


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

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

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

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

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

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

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

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

            return(value);
        }
示例#2
0
        /// <summary>获得一个实例  </summary>
        public static TCity GetOneInstance()
        {
            TCity value = new TCity();

            return(value);
        }