Exemple #1
0
        /// <summary></summary>
        public override ITableImplement af_GetOptionValueSchema()
        {
            TDepartment value = new TDepartment();


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

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

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

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

            return(value);
        }
Exemple #2
0
        /// <summary>获得一个实例  </summary>
        public static TDepartment GetOneInstance()
        {
            TDepartment value = new TDepartment();

            return(value);
        }