private void InitClass() { this.DataSetName = "ValuesDataSet"; this.Prefix = "WaterOneFlow.odws.v1_1"; this.Namespace = "http://tempuri.org/ValuesDataSet.xsd"; this.EnforceConstraints = false; this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; this.tableDataValues = new DataValuesDataTable(); base.Tables.Add(this.tableDataValues); this.tableSources = new SourcesDataTable(); base.Tables.Add(this.tableSources); this.tableMethods = new MethodsDataTable(); base.Tables.Add(this.tableMethods); this.tableOffsetTypes = new OffsetTypesDataTable(); base.Tables.Add(this.tableOffsetTypes); this.tableSamples = new SamplesDataTable(); base.Tables.Add(this.tableSamples); this.tableUnits = new UnitsDataTable(); base.Tables.Add(this.tableUnits); this.tableQualifiers = new QualifiersDataTable(); base.Tables.Add(this.tableQualifiers); this.tableQualityControlLevels = new QualityControlLevelsDataTable(); base.Tables.Add(this.tableQualityControlLevels); this.tableCensorCodeCV = new CensorCodeCVDataTable(); base.Tables.Add(this.tableCensorCodeCV); this.tableISOMetadata = new ISOMetadataDataTable(); base.Tables.Add(this.tableISOMetadata); this.relationValues_OffsetTypes = new global::System.Data.DataRelation("Values_OffsetTypes", new global::System.Data.DataColumn[] { this.tableOffsetTypes.OffsetTypeIDColumn}, new global::System.Data.DataColumn[] { this.tableDataValues.OffsetTypeIDColumn}, false); this.relationValues_OffsetTypes.Nested = true; this.Relations.Add(this.relationValues_OffsetTypes); this.relationFK_Values_Sources = new global::System.Data.DataRelation("FK_Values_Sources", new global::System.Data.DataColumn[] { this.tableSources.SourceIDColumn}, new global::System.Data.DataColumn[] { this.tableDataValues.SourceIDColumn}, false); this.Relations.Add(this.relationFK_Values_Sources); this.relationValues_Samples = new global::System.Data.DataRelation("Values_Samples", new global::System.Data.DataColumn[] { this.tableSamples.SampleIDColumn}, new global::System.Data.DataColumn[] { this.tableDataValues.SampleIDColumn}, false); this.Relations.Add(this.relationValues_Samples); this.relationFK_Values_Methods = new global::System.Data.DataRelation("FK_Values_Methods", new global::System.Data.DataColumn[] { this.tableMethods.MethodIDColumn}, new global::System.Data.DataColumn[] { this.tableDataValues.MethodIDColumn}, false); this.Relations.Add(this.relationFK_Values_Methods); this.relationOffsetTypes_FK00 = new global::System.Data.DataRelation("OffsetTypes_FK00", new global::System.Data.DataColumn[] { this.tableUnits.UnitsIDColumn}, new global::System.Data.DataColumn[] { this.tableOffsetTypes.OffsetUnitsIDColumn}, false); this.Relations.Add(this.relationOffsetTypes_FK00); this.relationFK_Values_Qualifiers = new global::System.Data.DataRelation("FK_Values_Qualifiers", new global::System.Data.DataColumn[] { this.tableQualifiers.QualifierIDColumn}, new global::System.Data.DataColumn[] { this.tableDataValues.QualifierIDColumn}, false); this.Relations.Add(this.relationFK_Values_Qualifiers); this.relationFK_Values_QualityControlLevelDefinitions = new global::System.Data.DataRelation("FK_Values_QualityControlLevelDefinitions", new global::System.Data.DataColumn[] { this.tableQualityControlLevels.QualityControlLevelIDColumn}, new global::System.Data.DataColumn[] { this.tableDataValues.QualityControlLevelIDColumn}, false); this.Relations.Add(this.relationFK_Values_QualityControlLevelDefinitions); this.relationFK_DataValues_CensorCodeCV = new global::System.Data.DataRelation("FK_DataValues_CensorCodeCV", new global::System.Data.DataColumn[] { this.tableCensorCodeCV.TermColumn}, new global::System.Data.DataColumn[] { this.tableDataValues.CensorCodeColumn}, false); this.Relations.Add(this.relationFK_DataValues_CensorCodeCV); this.relationFK_Sources_ISOMetaData = new global::System.Data.DataRelation("FK_Sources_ISOMetaData", new global::System.Data.DataColumn[] { this.tableISOMetadata.MetadataIDColumn}, new global::System.Data.DataColumn[] { this.tableSources.MetadataIDColumn}, false); this.Relations.Add(this.relationFK_Sources_ISOMetaData); }
internal CensorCodeCVRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableCensorCodeCV = ((CensorCodeCVDataTable)(this.Table)); }
internal void InitVars(bool initTable) { this.tableDataValues = ((DataValuesDataTable)(base.Tables["DataValues"])); if ((initTable == true)) { if ((this.tableDataValues != null)) { this.tableDataValues.InitVars(); } } this.tableSources = ((SourcesDataTable)(base.Tables["Sources"])); if ((initTable == true)) { if ((this.tableSources != null)) { this.tableSources.InitVars(); } } this.tableMethods = ((MethodsDataTable)(base.Tables["Methods"])); if ((initTable == true)) { if ((this.tableMethods != null)) { this.tableMethods.InitVars(); } } this.tableOffsetTypes = ((OffsetTypesDataTable)(base.Tables["OffsetTypes"])); if ((initTable == true)) { if ((this.tableOffsetTypes != null)) { this.tableOffsetTypes.InitVars(); } } this.tableSamples = ((SamplesDataTable)(base.Tables["Samples"])); if ((initTable == true)) { if ((this.tableSamples != null)) { this.tableSamples.InitVars(); } } this.tableUnits = ((UnitsDataTable)(base.Tables["Units"])); if ((initTable == true)) { if ((this.tableUnits != null)) { this.tableUnits.InitVars(); } } this.tableQualifiers = ((QualifiersDataTable)(base.Tables["Qualifiers"])); if ((initTable == true)) { if ((this.tableQualifiers != null)) { this.tableQualifiers.InitVars(); } } this.tableQualityControlLevels = ((QualityControlLevelsDataTable)(base.Tables["QualityControlLevels"])); if ((initTable == true)) { if ((this.tableQualityControlLevels != null)) { this.tableQualityControlLevels.InitVars(); } } this.tableCensorCodeCV = ((CensorCodeCVDataTable)(base.Tables["CensorCodeCV"])); if ((initTable == true)) { if ((this.tableCensorCodeCV != null)) { this.tableCensorCodeCV.InitVars(); } } this.tableISOMetadata = ((ISOMetadataDataTable)(base.Tables["ISOMetadata"])); if ((initTable == true)) { if ((this.tableISOMetadata != null)) { this.tableISOMetadata.InitVars(); } } this.relationValues_OffsetTypes = this.Relations["Values_OffsetTypes"]; this.relationFK_Values_Sources = this.Relations["FK_Values_Sources"]; this.relationValues_Samples = this.Relations["Values_Samples"]; this.relationFK_Values_Methods = this.Relations["FK_Values_Methods"]; this.relationOffsetTypes_FK00 = this.Relations["OffsetTypes_FK00"]; this.relationFK_Values_Qualifiers = this.Relations["FK_Values_Qualifiers"]; this.relationFK_Values_QualityControlLevelDefinitions = this.Relations["FK_Values_QualityControlLevelDefinitions"]; this.relationFK_DataValues_CensorCodeCV = this.Relations["FK_DataValues_CensorCodeCV"]; this.relationFK_Sources_ISOMetaData = this.Relations["FK_Sources_ISOMetaData"]; }