Esempio n. 1
0
        /// <summary>获得一个实例  </summary>
        public static V_xt_course GetOneInstance()
        {
            V_xt_course value = new V_xt_course();

            return(value);
        }
Esempio n. 2
0
        /// <summary></summary>
        public override ITableImplement af_GetOptionValueSchema()
        {
            V_xt_course value = new V_xt_course();


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

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

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

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

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

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

            return(value);
        }