コード例 #1
0
        /// <summary></summary>
        public override ITableImplement af_GetOptionValueSchema()
        {
            Xt_course_task value = new Xt_course_task();


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

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

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

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

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

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

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

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

            return(value);
        }