Ejemplo n.º 1
0
        /// <summary></summary>
        public override ITableImplement af_GetOptionValueSchema()
        {
            Xt_discuss value = new Xt_discuss();


            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(), "Title"))
            {
                value.title_initialized = true;
            }

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

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

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

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

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

            return(value);
        }
Ejemplo n.º 2
0
        /// <summary>获得一个实例  </summary>
        public static Xt_discuss GetOneInstance()
        {
            Xt_discuss value = new Xt_discuss();

            return(value);
        }