Example #1
0
		public cFields_e_inherit(
			iClaSSe aggregateloopback_ref_in
		) : base (
			aggregateloopback_ref_in
		) {
			fields_ = new ArrayList();
		}
Example #2
0
		/// <summary>
		/// if you are aggregating cClaSSe (use whenever inheritance not possible)
		/// </summary>
		public cClaSSe(
			iClaSSe aggregateloopback_ref_in, 
			iClaSSe inheritloopback_ref_in
		) {
			aggregateloopback_ref_ = aggregateloopback_ref_in;
			inheritloopback_ref_ = inheritloopback_ref_in;
		}
		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);
		}
Example #4
0
		public cDBMetadata_Table_Field(
			iClaSSe aggregateloopback_ref_in, 
			iDBMetadata_Table_Fields parent_ref_in, 
			string name_in
		) : base (
			aggregateloopback_ref_in
		) {
			parent_ref_ = parent_ref_in;

			//#region ClaSSe...
			Name = name_in;
			isPK = false;
			isIdentity = false;
			FriendlyName = string.Empty;
			ExtendedDescription = string.Empty;
			AditionalInfo = string.Empty;
			DefaultValue = string.Empty;
			isListItemValue = false;
			isListItemText = false;
			isConfig_Name = false;
			isConfig_Config = false;
			isConfig_Datatype = false;
			FK_TableName = string.Empty;
			FK_FieldName = string.Empty;
			isNullable = false;
			Size = 0;
			Numeric_Precision = 0;
			Numeric_Scale = 0;
//			DBType_inDB_name = string.Empty;
			//---
			dbs_ = new cDBMetadata_Table_Field_DBs(this, this);
			//#endregion
		}
Example #5
0
//			public cClaSS_(
//			) : base(
//			) {
//			}
			public cClaSS_(
				iClaSSe aggregateloopback_ref_in, 
				iClaSSe inheritloopback_ref_in
			) : base (
				aggregateloopback_ref_in, 
				inheritloopback_ref_in
			) {
			}
Example #6
0
//			public cClaSS_(
//			) : base(
//			) {
//			}
            public cClaSS_(
                iClaSSe aggregateloopback_ref_in,
                iClaSSe inheritloopback_ref_in
                ) : base(
                    aggregateloopback_ref_in,
                    inheritloopback_ref_in
                    )
            {
            }
		public cTable_e_inherit(
			iClaSSe aggregateloopback_ref_in, 
			string name_in
		) : base (
			aggregateloopback_ref_in
		) {
			fields_ = new cFields_e_inherit(this);
			name_ = name_in;
		}
		public cDBMetadata_DB_Connections(
			iClaSSe aggregateloopback_ref_in
		) : base(
			aggregateloopback_ref_in
		) {
			//#region ClaSSe...
			connections_ = new ArrayList();
			//#endregion
		}
Example #9
0
		public cFields_e_aggregate(
			iClaSSe aggregateloopback_ref_in
		) {
			classstateapi_ = new cClaSS_(
				aggregateloopback_ref_in, 
				this
			);
			//---
			fields_ = new ArrayList();
		}
Example #10
0
		public cField_e_inherit(
			iClaSSe aggregateloopback_ref_in, 
			string name_in
		) : base (
			aggregateloopback_ref_in
		) {
			name_ = name_in;
			ispk_ = false;
			dbtype_indb_ = (int)SqlDbType.Variant;
		}
Example #11
0
 public cDBMetadata_DB_Connections(
     iClaSSe aggregateloopback_ref_in
     ) : base(
         aggregateloopback_ref_in
         )
 {
     //#region ClaSSe...
     connections_ = new ArrayList();
     //#endregion
 }
Example #12
0
 public cTable_e_inherit(
     iClaSSe aggregateloopback_ref_in,
     string name_in
     ) : base(
         aggregateloopback_ref_in
         )
 {
     fields_ = new cFields_e_inherit(this);
     name_   = name_in;
 }
Example #13
0
 public cField_e_inherit(
     iClaSSe aggregateloopback_ref_in,
     string name_in
     ) : base(
         aggregateloopback_ref_in
         )
 {
     name_        = name_in;
     ispk_        = false;
     dbtype_indb_ = (int)SqlDbType.Variant;
 }
Example #14
0
 public cFields_e_aggregate(
     iClaSSe aggregateloopback_ref_in
     )
 {
     classstateapi_ = new cClaSS_(
         aggregateloopback_ref_in,
         this
         );
     //---
     fields_ = new ArrayList();
 }
Example #15
0
//		#endregion
        //===
        #region public iClaSSe root();
        public iClaSSe root()
        {
            iClaSSe root_out = this;

            while (root_out.AggregateLoopback_ref != null)
            {
                root_out = root_out.AggregateLoopback_ref;
            }

            return(root_out);
        }
		public cDBMetadata_DBs(
			iClaSSe aggregateloopback_ref_in, 
			cDBMetadata root_ref_in
		) : base (
			aggregateloopback_ref_in
		) {
			root_ref_ = root_ref_in;

			//#region ClaSSe...
			dbs_ = new ArrayList();
			//#endregion
		}
Example #17
0
		public cDBMetadata_Field_refs(
			iClaSSe aggregateloopback_ref_in, 
			iDBMetadata_Tables parent_ref_in
		) : base (
			aggregateloopback_ref_in
		) {
			parent_ref_ = parent_ref_in;

			//#region ClaSS...
			field_refs_ = new ArrayList();
			//#endregion
		}
Example #18
0
		public cDBMetadata_Field_ref(
			iClaSSe aggregateloopback_ref_in, 
			iDBMetadata_Tables parent_ref_in, 
			string tableName_in, 
			string fieldName_in
		) : this (
			aggregateloopback_ref_in, 
			parent_ref_in, 
			tableName_in, 
			fieldName_in, 
			string.Empty
		) {}
		public cDBMetadata_DB(
			iClaSSe aggregateloopback_ref_in, 
			DBServerTypes dbServerType_in
		) : base (
			aggregateloopback_ref_in
		) {
			//#region ClaSSe...
			DBServerType = dbServerType_in;
			//---
			connections_ = new cDBMetadata_DB_Connections(this);
			//#endregion
		}
		public cDBMetadata_Table_Searches(
			iClaSSe aggregateloopback_ref_in, 
			cDBMetadata_Table parent_ref_in
		) : base (
			aggregateloopback_ref_in
		) {
			parent_ref_ = parent_ref_in;

			//#region ClaSSe...
			search_ = new ArrayList();	// base.Property_aggregate_collection["search", new ArrayList());
			//#endregion
		}
Example #21
0
		public cDBMetadata_Table_DBs(
			iClaSSe aggregateloopback_ref_in, 
			cDBMetadata_Table parent_ref_in
		) : base (
			aggregateloopback_ref_in
		) {
			parent_ref_ = parent_ref_in;

			//#region ClaSSe...
			db_ = new ArrayList();
			//#endregion
		}
Example #22
0
		public cDBMetadata_Field_ref(
			iClaSSe aggregateloopback_ref_in, 
			iDBMetadata_Tables parent_ref_in, 
			int tableIndex_in, 
			int fieldIndex_in
		) : this (
			aggregateloopback_ref_in, 
			parent_ref_in, 
			tableIndex_in, 
			fieldIndex_in, 
			string.Empty
		) {}
Example #23
0
        public cDBMetadata_Field_refs(
            iClaSSe aggregateloopback_ref_in,
            iDBMetadata_Tables parent_ref_in
            ) : base(
                aggregateloopback_ref_in
                )
        {
            parent_ref_ = parent_ref_in;

            //#region ClaSS...
            field_refs_ = new ArrayList();
            //#endregion
        }
Example #24
0
 public cDBMetadata_DB(
     iClaSSe aggregateloopback_ref_in,
     DBServerTypes dbServerType_in
     ) : base(
         aggregateloopback_ref_in
         )
 {
     //#region ClaSSe...
     DBServerType = dbServerType_in;
     //---
     connections_ = new cDBMetadata_DB_Connections(this);
     //#endregion
 }
Example #25
0
        public cDBMetadata_DBs(
            iClaSSe aggregateloopback_ref_in,
            cDBMetadata root_ref_in
            ) : base(
                aggregateloopback_ref_in
                )
        {
            root_ref_ = root_ref_in;

            //#region ClaSSe...
            dbs_ = new ArrayList();
            //#endregion
        }
		public cField_e_aggregate(
			iClaSSe aggregateloopback_ref_in, 
			string name_in
		) {
			classstateapi_ = new cClaSS_(
				aggregateloopback_ref_in, 
				this
			);
			//---
			name_ = name_in;
			ispk_ = false;
			dbtype_indb_ = (int)SqlDbType.Variant;
		}
Example #27
0
        public cDBMetadata_Table_Searches(
            iClaSSe aggregateloopback_ref_in,
            cDBMetadata_Table parent_ref_in
            ) : base(
                aggregateloopback_ref_in
                )
        {
            parent_ref_ = parent_ref_in;

            //#region ClaSSe...
            search_ = new ArrayList();                  // base.Property_aggregate_collection["search", new ArrayList());
            //#endregion
        }
Example #28
0
        public cDBMetadata_Table_DBs(
            iClaSSe aggregateloopback_ref_in,
            cDBMetadata_Table parent_ref_in
            ) : base(
                aggregateloopback_ref_in
                )
        {
            parent_ref_ = parent_ref_in;

            //#region ClaSSe...
            db_ = new ArrayList();
            //#endregion
        }
		public cTable_e_aggregate(
			iClaSSe aggregateloopback_ref_in, 
			string name_in
		) {
			classstateapi_ = new cClaSS_(
				aggregateloopback_ref_in, 
				this
			);
			//---
			fields_ = new cFields_e_aggregate(
				this
			);
			name_ = name_in;
		}
Example #30
0
 public cField_e_aggregate(
     iClaSSe aggregateloopback_ref_in,
     string name_in
     )
 {
     classstateapi_ = new cClaSS_(
         aggregateloopback_ref_in,
         this
         );
     //---
     name_        = name_in;
     ispk_        = false;
     dbtype_indb_ = (int)SqlDbType.Variant;
 }
Example #31
0
 public cDBMetadata_Field_ref(
     iClaSSe aggregateloopback_ref_in,
     iDBMetadata_Tables parent_ref_in,
     string tableName_in,
     string fieldName_in
     ) : this(
         aggregateloopback_ref_in,
         parent_ref_in,
         tableName_in,
         fieldName_in,
         string.Empty
         )
 {
 }
Example #32
0
 public cDBMetadata_Field_ref(
     iClaSSe aggregateloopback_ref_in,
     iDBMetadata_Tables parent_ref_in,
     int tableIndex_in,
     int fieldIndex_in
     ) : this(
         aggregateloopback_ref_in,
         parent_ref_in,
         tableIndex_in,
         fieldIndex_in,
         string.Empty
         )
 {
 }
		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
		}
		public cDBMetadata_DB_Connection(
			iClaSSe aggregateloopback_ref_in,
			bool generateSQL_in, 
			string configMode_in
		) : base (
			aggregateloopback_ref_in
		) {
			//#region ClaSSe...
			ConfigMode = configMode_in;
			isDefault = false;
			GenerateSQL = generateSQL_in;
			isIndexed_andReadOnly = false;
			Connectionstring = string.Empty;
			//#endregion
		}
Example #35
0
 public cTable_e_aggregate(
     iClaSSe aggregateloopback_ref_in,
     string name_in
     )
 {
     classstateapi_ = new cClaSS_(
         aggregateloopback_ref_in,
         this
         );
     //---
     fields_ = new cFields_e_aggregate(
         this
         );
     name_ = name_in;
 }
Example #36
0
 public cDBMetadata_DB_Connection(
     iClaSSe aggregateloopback_ref_in,
     bool generateSQL_in,
     string configMode_in
     ) : base(
         aggregateloopback_ref_in
         )
 {
     //#region ClaSSe...
     ConfigMode            = configMode_in;
     isDefault             = false;
     GenerateSQL           = generateSQL_in;
     isIndexed_andReadOnly = false;
     Connectionstring      = string.Empty;
     //#endregion
 }
Example #37
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
        }
Example #38
0
		public cDBMetadata_Field_ref(
			iClaSSe aggregateloopback_ref_in, 
			iDBMetadata_Tables parent_ref_in, 
			int tableIndex_in, 
			int fieldIndex_in, 
			string paramName_in
		) : base (
			aggregateloopback_ref_in
		) {
			parent_ref_ = parent_ref_in;

			//#region ClaSSe...
			TableName = (tableIndex_in != -1) ? Parent_ref[tableIndex_in].Name : string.Empty;
			FieldName = ((tableIndex_in != -1) && (fieldIndex_in != -1)) ? Parent_ref[tableIndex_in].Fields[fieldIndex_in].Name : string.Empty;
			ParamName = paramName_in;
			//#endregion
		}
Example #39
0
		public cDBMetadata_Field_ref(
			iClaSSe aggregateloopback_ref_in, 
			iDBMetadata_Tables parent_ref_in, 
			string tableName_in, 
			string fieldName_in, 
			string paramName_in
		) : base (
			aggregateloopback_ref_in
		) {
			parent_ref_ = parent_ref_in;

			//#region ClaSSe...
			TableName = tableName_in;
			FieldName = fieldName_in;
			ParamName = paramName_in;
			//#endregion
		}
Example #40
0
        public cDBMetadata_Field_ref(
            iClaSSe aggregateloopback_ref_in,
            iDBMetadata_Tables parent_ref_in,
            int tableIndex_in,
            int fieldIndex_in,
            string paramName_in
            ) : base(
                aggregateloopback_ref_in
                )
        {
            parent_ref_ = parent_ref_in;

            //#region ClaSSe...
            TableName = (tableIndex_in != -1) ? Parent_ref[tableIndex_in].Name : string.Empty;
            FieldName = ((tableIndex_in != -1) && (fieldIndex_in != -1)) ? Parent_ref[tableIndex_in].Fields[fieldIndex_in].Name : string.Empty;
            ParamName = paramName_in;
            //#endregion
        }
Example #41
0
        public cDBMetadata_Field_ref(
            iClaSSe aggregateloopback_ref_in,
            iDBMetadata_Tables parent_ref_in,
            string tableName_in,
            string fieldName_in,
            string paramName_in
            ) : base(
                aggregateloopback_ref_in
                )
        {
            parent_ref_ = parent_ref_in;

            //#region ClaSSe...
            TableName = tableName_in;
            FieldName = fieldName_in;
            ParamName = paramName_in;
            //#endregion
        }
		public cDBMetadata_Table_Field_DB(
			iClaSSe aggregateloopback_ref_in, 
			cDBMetadata_Table_Field_DBs parent_ref_in, 
			DBServerTypes dbServerType_in
		) : base (
			aggregateloopback_ref_in
		) {
			parent_ref_ = parent_ref_in;

			//#region ClaSSe...
			DBServerType = dbServerType_in;
//			Size = 0;
			DBType_inDB_name = string.Empty;
			DBDescription = string.Empty;
			DBDefaultValue = string.Empty;
			DBCollationName = string.Empty;
			//#endregion
		}
		public cDBMetadata_Update(
			iClaSSe aggregateloopback_ref_in, 
			cDBMetadata_Updates parent_ref_in, 
			string name_in
		) : base (
			aggregateloopback_ref_in
		) {
			parent_ref_ = parent_ref_in;

			//#region ClaSSe...
			Name = name_in;
			//---
			updateparameters_ = new cDBMetadata_Field_refs(
				this, 
				parent_ref_.Parent_ref
			);
			//#endregion
		}
Example #44
0
        public cDBMetadata_Table_Field_DB(
            iClaSSe aggregateloopback_ref_in,
            cDBMetadata_Table_Field_DBs parent_ref_in,
            DBServerTypes dbServerType_in
            ) : base(
                aggregateloopback_ref_in
                )
        {
            parent_ref_ = parent_ref_in;

            //#region ClaSSe...
            DBServerType = dbServerType_in;
//			Size = 0;
            DBType_inDB_name = string.Empty;
            DBDescription    = string.Empty;
            DBDefaultValue   = string.Empty;
            DBCollationName  = string.Empty;
            //#endregion
        }
Example #45
0
        public cDBMetadata_Update(
            iClaSSe aggregateloopback_ref_in,
            cDBMetadata_Updates parent_ref_in,
            string name_in
            ) : base(
                aggregateloopback_ref_in
                )
        {
            parent_ref_ = parent_ref_in;

            //#region ClaSSe...
            Name = name_in;
            //---
            updateparameters_ = new cDBMetadata_Field_refs(
                this,
                parent_ref_.Parent_ref
                );
            //#endregion
        }
		public cDBMetadata_Table_Search(
			iClaSSe aggregateloopback_ref_in, 
			cDBMetadata_Table_Searches parent_ref_, 
			string name_in
		) : base (
			aggregateloopback_ref_in
		) {
			parent_ref = parent_ref_;

			//#region ClaSSe...
			Name = name_in;
			isRange = false;
			isExplicitUniqueIndex = false;
			//---
			searchparameters_ = new cDBMetadata_Field_refs(
				this, 
				this.Parent_ref.Parent_ref.Parent_ref
			);
			updates_ = new cDBMetadata_Updates(
				this, 
				/*this*/this.Parent_ref.Parent_ref.Parent_ref
			);
			//#endregion
		}
		public cTable_e_inherit(
			iClaSSe aggregateloopback_ref_in
		) : this (
			aggregateloopback_ref_in, 
			string.Empty
		) {}
		public cField_e_aggregate(
			iClaSSe aggregateloopback_ref_in
		) : this (
			aggregateloopback_ref_in, 
			string.Empty
		) {}