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

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


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

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

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

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

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

            return(value);
        }