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

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


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

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

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

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

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

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

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

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

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

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

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

            return(value);
        }