private void InitClass() { this.DataSetName = "LfsAssetsTDS"; this.Prefix = ""; this.Namespace = "http://tempuri.org/LfsAssetsTDS.xsd"; this.EnforceConstraints = true; this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; this.tableLFS_ASSET = new LFS_ASSETDataTable(); base.Tables.Add(this.tableLFS_ASSET); this.tableLFS_ASSET_SEWER = new LFS_ASSET_SEWERDataTable(); base.Tables.Add(this.tableLFS_ASSET_SEWER); this.tableLFS_ASSET_SEWER_LATERAL = new LFS_ASSET_SEWER_LATERALDataTable(); base.Tables.Add(this.tableLFS_ASSET_SEWER_LATERAL); this.tableLFS_ASSET_SEWER_LATERAL_CLIENT = new LFS_ASSET_SEWER_LATERAL_CLIENTDataTable(); base.Tables.Add(this.tableLFS_ASSET_SEWER_LATERAL_CLIENT); this.tableLFS_ASSET_SEWER_SECTION = new LFS_ASSET_SEWER_SECTIONDataTable(); base.Tables.Add(this.tableLFS_ASSET_SEWER_SECTION); this.tableLFS_ASSET_SEWER_SECTION_THICKNESS = new LFS_ASSET_SEWER_SECTION_THICKNESSDataTable(); base.Tables.Add(this.tableLFS_ASSET_SEWER_SECTION_THICKNESS); this.tableLFS_ASSET_SEWER_MH = new LFS_ASSET_SEWER_MHDataTable(); base.Tables.Add(this.tableLFS_ASSET_SEWER_MH); this.relationFK_LFS_ASSET_LFS_ASSET_SEWER = new global::System.Data.DataRelation("FK_LFS_ASSET_LFS_ASSET_SEWER", new global::System.Data.DataColumn[] { this.tableLFS_ASSET.AssetIDColumn}, new global::System.Data.DataColumn[] { this.tableLFS_ASSET_SEWER.AssetIDColumn}, false); this.Relations.Add(this.relationFK_LFS_ASSET_LFS_ASSET_SEWER); this.relationLFS_ASSET_SEWER_LFS_ASSET_SEWER_LATERAL = new global::System.Data.DataRelation("LFS_ASSET_SEWER_LFS_ASSET_SEWER_LATERAL", new global::System.Data.DataColumn[] { this.tableLFS_ASSET_SEWER.AssetIDColumn}, new global::System.Data.DataColumn[] { this.tableLFS_ASSET_SEWER_LATERAL.AssetIDColumn}, false); this.Relations.Add(this.relationLFS_ASSET_SEWER_LFS_ASSET_SEWER_LATERAL); this.relationLFS_ASSET_SEWER_LFS_ASSET_SEWER_LATERAL_CLIENT = new global::System.Data.DataRelation("LFS_ASSET_SEWER_LFS_ASSET_SEWER_LATERAL_CLIENT", new global::System.Data.DataColumn[] { this.tableLFS_ASSET_SEWER.AssetIDColumn}, new global::System.Data.DataColumn[] { this.tableLFS_ASSET_SEWER_LATERAL_CLIENT.AssetIDColumn}, false); this.Relations.Add(this.relationLFS_ASSET_SEWER_LFS_ASSET_SEWER_LATERAL_CLIENT); this.relationFK_LFS_ASSET_SEWER_SECTION_THICKNESS_LFS_ASSET_SEWER_SECTION = new global::System.Data.DataRelation("FK_LFS_ASSET_SEWER_SECTION_THICKNESS_LFS_ASSET_SEWER_SECTION", new global::System.Data.DataColumn[] { this.tableLFS_ASSET_SEWER_SECTION_THICKNESS.ThicknessColumn, this.tableLFS_ASSET_SEWER_SECTION_THICKNESS.COMPANY_IDColumn}, new global::System.Data.DataColumn[] { this.tableLFS_ASSET_SEWER_SECTION.ThicknessColumn, this.tableLFS_ASSET_SEWER_SECTION.COMPANY_IDColumn}, false); this.Relations.Add(this.relationFK_LFS_ASSET_SEWER_SECTION_THICKNESS_LFS_ASSET_SEWER_SECTION); this.relationLFS_ASSET_LFS_ASSET_SEWER_SECTION = new global::System.Data.DataRelation("LFS_ASSET_LFS_ASSET_SEWER_SECTION", new global::System.Data.DataColumn[] { this.tableLFS_ASSET_SEWER.AssetIDColumn}, new global::System.Data.DataColumn[] { this.tableLFS_ASSET_SEWER_SECTION.AssetIDColumn}, false); this.Relations.Add(this.relationLFS_ASSET_LFS_ASSET_SEWER_SECTION); }
internal LFS_ASSET_SEWER_MHRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableLFS_ASSET_SEWER_MH = ((LFS_ASSET_SEWER_MHDataTable)(this.Table)); }
internal void InitVars(bool initTable) { this.tableLFS_ASSET = ((LFS_ASSETDataTable)(base.Tables["LFS_ASSET"])); if ((initTable == true)) { if ((this.tableLFS_ASSET != null)) { this.tableLFS_ASSET.InitVars(); } } this.tableLFS_ASSET_SEWER = ((LFS_ASSET_SEWERDataTable)(base.Tables["LFS_ASSET_SEWER"])); if ((initTable == true)) { if ((this.tableLFS_ASSET_SEWER != null)) { this.tableLFS_ASSET_SEWER.InitVars(); } } this.tableLFS_ASSET_SEWER_LATERAL = ((LFS_ASSET_SEWER_LATERALDataTable)(base.Tables["LFS_ASSET_SEWER_LATERAL"])); if ((initTable == true)) { if ((this.tableLFS_ASSET_SEWER_LATERAL != null)) { this.tableLFS_ASSET_SEWER_LATERAL.InitVars(); } } this.tableLFS_ASSET_SEWER_LATERAL_CLIENT = ((LFS_ASSET_SEWER_LATERAL_CLIENTDataTable)(base.Tables["LFS_ASSET_SEWER_LATERAL_CLIENT"])); if ((initTable == true)) { if ((this.tableLFS_ASSET_SEWER_LATERAL_CLIENT != null)) { this.tableLFS_ASSET_SEWER_LATERAL_CLIENT.InitVars(); } } this.tableLFS_ASSET_SEWER_SECTION = ((LFS_ASSET_SEWER_SECTIONDataTable)(base.Tables["LFS_ASSET_SEWER_SECTION"])); if ((initTable == true)) { if ((this.tableLFS_ASSET_SEWER_SECTION != null)) { this.tableLFS_ASSET_SEWER_SECTION.InitVars(); } } this.tableLFS_ASSET_SEWER_SECTION_THICKNESS = ((LFS_ASSET_SEWER_SECTION_THICKNESSDataTable)(base.Tables["LFS_ASSET_SEWER_SECTION_THICKNESS"])); if ((initTable == true)) { if ((this.tableLFS_ASSET_SEWER_SECTION_THICKNESS != null)) { this.tableLFS_ASSET_SEWER_SECTION_THICKNESS.InitVars(); } } this.tableLFS_ASSET_SEWER_MH = ((LFS_ASSET_SEWER_MHDataTable)(base.Tables["LFS_ASSET_SEWER_MH"])); if ((initTable == true)) { if ((this.tableLFS_ASSET_SEWER_MH != null)) { this.tableLFS_ASSET_SEWER_MH.InitVars(); } } this.relationFK_LFS_ASSET_LFS_ASSET_SEWER = this.Relations["FK_LFS_ASSET_LFS_ASSET_SEWER"]; this.relationLFS_ASSET_SEWER_LFS_ASSET_SEWER_LATERAL = this.Relations["LFS_ASSET_SEWER_LFS_ASSET_SEWER_LATERAL"]; this.relationLFS_ASSET_SEWER_LFS_ASSET_SEWER_LATERAL_CLIENT = this.Relations["LFS_ASSET_SEWER_LFS_ASSET_SEWER_LATERAL_CLIENT"]; this.relationFK_LFS_ASSET_SEWER_SECTION_THICKNESS_LFS_ASSET_SEWER_SECTION = this.Relations["FK_LFS_ASSET_SEWER_SECTION_THICKNESS_LFS_ASSET_SEWER_SECTION"]; this.relationLFS_ASSET_LFS_ASSET_SEWER_SECTION = this.Relations["LFS_ASSET_LFS_ASSET_SEWER_SECTION"]; }