示例#1
0
        /// <summary>获得一个实例  </summary>
        public static TSchool GetOneInstance()
        {
            TSchool value = new TSchool();

            return(value);
        }
示例#2
0
        /// <summary></summary>
        public override ITableImplement af_GetOptionValueSchema()
        {
            TSchool value = new TSchool();


            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(), "IsHot"))
            {
                value.ishot_initialized = true;
            }

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

            if (BLLTable.IsExistOptionValue(this.TableName(), "Province"))
            {
                value.province_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(), "Seq"))
            {
                value.seq_initialized = true;
            }

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

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

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

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

            if (BLLTable.IsExistOptionValue(this.TableName(), "Is985"))
            {
                value.is985_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;
            }

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

            return(value);
        }