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

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


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

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

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

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

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

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

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

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

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

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

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

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

            return(value);
        }