Пример #1
0
        /// <summary>获得一个实例  </summary>
        public static THighSchool GetOneInstance()
        {
            THighSchool value = new THighSchool();

            return(value);
        }
Пример #2
0
        /// <summary></summary>
        public override ITableImplement af_GetOptionValueSchema()
        {
            THighSchool value = new THighSchool();


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

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

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

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

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

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

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

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