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

            return(value);
        }
Пример #2
0
        /// <summary></summary>
        public override ITableImplement af_GetOptionValueSchema()
        {
            Xt_notice value = new Xt_notice();


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

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

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

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

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

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

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

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

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

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

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

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

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

            return(value);
        }