コード例 #1
0
        /// <summary>获得一个实例  </summary>
        public static Xb_comment_item GetOneInstance()
        {
            Xb_comment_item value = new Xb_comment_item();

            return(value);
        }
コード例 #2
0
        /// <summary></summary>
        public override ITableImplement af_GetOptionValueSchema()
        {
            Xb_comment_item value = new Xb_comment_item();


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            return(value);
        }