コード例 #1
0
ファイル: St_TPaper.cs プロジェクト: f1tz/m.edianzu.com
        /// <summary>获得一个实例  </summary>
        public static St_TPaper GetOneInstance()
        {
            St_TPaper value = new St_TPaper();

            return(value);
        }
コード例 #2
0
ファイル: St_TPaper.cs プロジェクト: f1tz/m.edianzu.com
        /// <summary></summary>
        public override ITableImplement af_GetOptionValueSchema()
        {
            St_TPaper value = new St_TPaper();


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

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

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

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

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

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

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

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

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

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

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

            return(value);
        }