예제 #1
0
        public cDBMetadata_Table(
            iClaSSe aggregateloopback_ref_in,
            iDBMetadata_Tables parent_ref_in,
            string name_in
            ) : base(
                aggregateloopback_ref_in
                )
        {
            parent_ref_ = parent_ref_in;

            //#region ClaSSe...
            Name                = name_in;
            FriendlyName        = string.Empty;
            DBDescription       = string.Empty;
            ExtendedDescription = string.Empty;
            isVirtualTable      = false;
            isConfig            = false;
            //---
            dbs_      = new cDBMetadata_Table_DBs(this, this);
            fields_   = new cDBMetadata_Table_Fields(this, this);
            searches_ = new cDBMetadata_Table_Searches(this, this);
            updates_  = new cDBMetadata_Updates(this, this.Parent_ref);
            //#endregion

            fields_onlypk_ = new cDBMetadata_Table_Fields_PK(this, true);
            fields_nopk_   = new cDBMetadata_Table_Fields_PK(this, false);
            fields_onlyfk_ = new cDBMetadata_Table_Fields_FK(this, true);
            fields_nofk_   = new cDBMetadata_Table_Fields_FK(this, false);
        }
		public cDBMetadata_Table(
			iClaSSe aggregateloopback_ref_in, 
			iDBMetadata_Tables parent_ref_in, 
			string name_in
		) : base (
			aggregateloopback_ref_in
		) {
			parent_ref_ = parent_ref_in;

			//#region ClaSSe...
			Name = name_in;
			FriendlyName = string.Empty;
			DBDescription = string.Empty;
			ExtendedDescription = string.Empty;
			isVirtualTable = false;
			isConfig = false;
			//---
			dbs_ = new cDBMetadata_Table_DBs(this, this);
			fields_ = new cDBMetadata_Table_Fields(this, this);
			searches_ = new cDBMetadata_Table_Searches(this, this);
			updates_ = new cDBMetadata_Updates(this, this.Parent_ref);
			//#endregion

			fields_onlypk_ = new cDBMetadata_Table_Fields_PK(this, true);
			fields_nopk_ = new cDBMetadata_Table_Fields_PK(this, false);
			fields_onlyfk_ = new cDBMetadata_Table_Fields_FK(this, true);
			fields_nofk_ = new cDBMetadata_Table_Fields_FK(this, false);
		}
		public cDBMetadata_Table_DB(
			iClaSSe aggregateloopback_ref_in, 
			cDBMetadata_Table_DBs parent_ref_in, 
			DBServerTypes dbServerType_in, 
			string tableName_in
		) : base (
			aggregateloopback_ref_in
		) {
			parent_ref_ = parent_ref_in;

			//#region ClaSSe...
			DBServerType = dbServerType_in;
			TableName = tableName_in;
			//#endregion
		}
예제 #4
0
        public cDBMetadata_Table_DB(
            iClaSSe aggregateloopback_ref_in,
            cDBMetadata_Table_DBs parent_ref_in,
            DBServerTypes dbServerType_in,
            string tableName_in
            ) : base(
                aggregateloopback_ref_in
                )
        {
            parent_ref_ = parent_ref_in;

            //#region ClaSSe...
            DBServerType = dbServerType_in;
            TableName    = tableName_in;
            //#endregion
        }