Ejemplo n.º 1
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
		}
Ejemplo n.º 2
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
        }