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);
		}
Beispiel #2
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);
        }