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

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


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

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

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

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

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

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

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

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

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

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

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

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

            return(value);
        }