예제 #1
0
        /// <summary>获得一个实例  </summary>
        public static Xb_course_yuyue GetOneInstance()
        {
            Xb_course_yuyue value = new Xb_course_yuyue();

            return(value);
        }
예제 #2
0
        /// <summary></summary>
        public override ITableImplement af_GetOptionValueSchema()
        {
            Xb_course_yuyue value = new Xb_course_yuyue();


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

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

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

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

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

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

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

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

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

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

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

            return(value);
        }