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

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


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

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

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

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

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

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

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

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

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

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

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

            return(value);
        }