Пример #1
0
        /// <summary></summary>
        public override ITableImplement af_GetOptionValueSchema()
        {
            Xt_student_task value = new Xt_student_task();


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

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

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

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

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

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

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

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

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

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

            return(value);
        }