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

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


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

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

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

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

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

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

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

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

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

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

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

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

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

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

            return(value);
        }