internal ChildRelationsRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableChildRelations = ((ChildRelationsDataTable)(this.Table)); }
private void InitClass() { this.DataSetName = "SchemaReader"; this.Prefix = ""; this.Namespace = "http://tempuri.org/SchemaReader.xsd"; this.EnforceConstraints = true; this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; this.tableEntities = new EntitiesDataTable(); base.Tables.Add(this.tableEntities); this.tableFieldDefinitions = new FieldDefinitionsDataTable(); base.Tables.Add(this.tableFieldDefinitions); this.tableChildRelations = new ChildRelationsDataTable(); base.Tables.Add(this.tableChildRelations); this.tableForeignRelations = new ForeignRelationsDataTable(); base.Tables.Add(this.tableForeignRelations); this.tableKeyInfo = new KeyInfoDataTable(); base.Tables.Add(this.tableKeyInfo); this.tableTABLE_CONSTRAINTS = new TABLE_CONSTRAINTSDataTable(); base.Tables.Add(this.tableTABLE_CONSTRAINTS); this.tableCONSTRAINT_COLUMN_USAGE = new CONSTRAINT_COLUMN_USAGEDataTable(); base.Tables.Add(this.tableCONSTRAINT_COLUMN_USAGE); this.tableSCHEMATA = new SCHEMATADataTable(); base.Tables.Add(this.tableSCHEMATA); this.tableDBObjProperties = new DBObjPropertiesDataTable(); base.Tables.Add(this.tableDBObjProperties); }
internal void InitVars(bool initTable) { this.tableEntities = ((EntitiesDataTable)(base.Tables["Entities"])); if ((initTable == true)) { if ((this.tableEntities != null)) { this.tableEntities.InitVars(); } } this.tableFieldDefinitions = ((FieldDefinitionsDataTable)(base.Tables["FieldDefinitions"])); if ((initTable == true)) { if ((this.tableFieldDefinitions != null)) { this.tableFieldDefinitions.InitVars(); } } this.tableChildRelations = ((ChildRelationsDataTable)(base.Tables["ChildRelations"])); if ((initTable == true)) { if ((this.tableChildRelations != null)) { this.tableChildRelations.InitVars(); } } this.tableForeignRelations = ((ForeignRelationsDataTable)(base.Tables["ForeignRelations"])); if ((initTable == true)) { if ((this.tableForeignRelations != null)) { this.tableForeignRelations.InitVars(); } } this.tableKeyInfo = ((KeyInfoDataTable)(base.Tables["KeyInfo"])); if ((initTable == true)) { if ((this.tableKeyInfo != null)) { this.tableKeyInfo.InitVars(); } } this.tableTABLE_CONSTRAINTS = ((TABLE_CONSTRAINTSDataTable)(base.Tables["TABLE_CONSTRAINTS"])); if ((initTable == true)) { if ((this.tableTABLE_CONSTRAINTS != null)) { this.tableTABLE_CONSTRAINTS.InitVars(); } } this.tableCONSTRAINT_COLUMN_USAGE = ((CONSTRAINT_COLUMN_USAGEDataTable)(base.Tables["CONSTRAINT_COLUMN_USAGE"])); if ((initTable == true)) { if ((this.tableCONSTRAINT_COLUMN_USAGE != null)) { this.tableCONSTRAINT_COLUMN_USAGE.InitVars(); } } this.tableSCHEMATA = ((SCHEMATADataTable)(base.Tables["SCHEMATA"])); if ((initTable == true)) { if ((this.tableSCHEMATA != null)) { this.tableSCHEMATA.InitVars(); } } this.tableDBObjProperties = ((DBObjPropertiesDataTable)(base.Tables["DBObjProperties"])); if ((initTable == true)) { if ((this.tableDBObjProperties != null)) { this.tableDBObjProperties.InitVars(); } } }