internal AM_ASSET_SEWERRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableAM_ASSET_SEWER = ((AM_ASSET_SEWERDataTable)(this.Table)); }
private void InitClass() { this.DataSetName = "AssetsTDS"; this.Prefix = ""; this.Namespace = "http://tempuri.org/AssetsTDS.xsd"; this.EnforceConstraints = true; this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; this.tableAM_ASSET_SEWER = new AM_ASSET_SEWERDataTable(); base.Tables.Add(this.tableAM_ASSET_SEWER); this.tableAM_ASSET_SEWER_MATERIAL = new AM_ASSET_SEWER_MATERIALDataTable(); base.Tables.Add(this.tableAM_ASSET_SEWER_MATERIAL); this.tableAM_ASSET = new AM_ASSETDataTable(); base.Tables.Add(this.tableAM_ASSET); this.tableAM_ASSET_SEWER_SECTION = new AM_ASSET_SEWER_SECTIONDataTable(); base.Tables.Add(this.tableAM_ASSET_SEWER_SECTION); this.tableAM_ASSET_SEWER_LATERAL = new AM_ASSET_SEWER_LATERALDataTable(); base.Tables.Add(this.tableAM_ASSET_SEWER_LATERAL); this.tableAM_ASSET_SEWER_MH = new AM_ASSET_SEWER_MHDataTable(); base.Tables.Add(this.tableAM_ASSET_SEWER_MH); this.tableAM_ASSET_SEWER_MH_MATERIAL_TYPE = new AM_ASSET_SEWER_MH_MATERIAL_TYPEDataTable(); base.Tables.Add(this.tableAM_ASSET_SEWER_MH_MATERIAL_TYPE); this.relationFK_AM_ASSET_SEWER_AM_ASSET_SEWER_MATERIAL = new global::System.Data.DataRelation("FK_AM_ASSET_SEWER_AM_ASSET_SEWER_MATERIAL", new global::System.Data.DataColumn[] { this.tableAM_ASSET_SEWER.AssetIDColumn}, new global::System.Data.DataColumn[] { this.tableAM_ASSET_SEWER_MATERIAL.AssetIDColumn}, false); this.Relations.Add(this.relationFK_AM_ASSET_SEWER_AM_ASSET_SEWER_MATERIAL); this.relationAM_ASSET_SEWER_AM_ASSET = new global::System.Data.DataRelation("AM_ASSET_SEWER_AM_ASSET", new global::System.Data.DataColumn[] { this.tableAM_ASSET_SEWER.AssetIDColumn}, new global::System.Data.DataColumn[] { this.tableAM_ASSET.AssetIDColumn}, false); this.Relations.Add(this.relationAM_ASSET_SEWER_AM_ASSET); this.relationFK_AM_ASSET_SEWER_AM_ASSET_SEWER_SECTION = new global::System.Data.DataRelation("FK_AM_ASSET_SEWER_AM_ASSET_SEWER_SECTION", new global::System.Data.DataColumn[] { this.tableAM_ASSET_SEWER.AssetIDColumn}, new global::System.Data.DataColumn[] { this.tableAM_ASSET_SEWER_SECTION.AssetIDColumn}, false); this.Relations.Add(this.relationFK_AM_ASSET_SEWER_AM_ASSET_SEWER_SECTION); this.relationAM_ASSET_SEWER_AM_ASSET_SEWER_LATERAL = new global::System.Data.DataRelation("AM_ASSET_SEWER_AM_ASSET_SEWER_LATERAL", new global::System.Data.DataColumn[] { this.tableAM_ASSET_SEWER.AssetIDColumn}, new global::System.Data.DataColumn[] { this.tableAM_ASSET_SEWER_LATERAL.AssetIDColumn}, false); this.Relations.Add(this.relationAM_ASSET_SEWER_AM_ASSET_SEWER_LATERAL); this.relationAM_ASSET_SEWER_SECTION_AM_ASSET_SEWER_LATERAL = new global::System.Data.DataRelation("AM_ASSET_SEWER_SECTION_AM_ASSET_SEWER_LATERAL", new global::System.Data.DataColumn[] { this.tableAM_ASSET_SEWER_SECTION.AssetIDColumn}, new global::System.Data.DataColumn[] { this.tableAM_ASSET_SEWER_LATERAL.Section_Column}, false); this.Relations.Add(this.relationAM_ASSET_SEWER_SECTION_AM_ASSET_SEWER_LATERAL); }
internal void InitVars(bool initTable) { this.tableAM_ASSET_SEWER = ((AM_ASSET_SEWERDataTable)(base.Tables["AM_ASSET_SEWER"])); if ((initTable == true)) { if ((this.tableAM_ASSET_SEWER != null)) { this.tableAM_ASSET_SEWER.InitVars(); } } this.tableAM_ASSET_SEWER_MATERIAL = ((AM_ASSET_SEWER_MATERIALDataTable)(base.Tables["AM_ASSET_SEWER_MATERIAL"])); if ((initTable == true)) { if ((this.tableAM_ASSET_SEWER_MATERIAL != null)) { this.tableAM_ASSET_SEWER_MATERIAL.InitVars(); } } this.tableAM_ASSET = ((AM_ASSETDataTable)(base.Tables["AM_ASSET"])); if ((initTable == true)) { if ((this.tableAM_ASSET != null)) { this.tableAM_ASSET.InitVars(); } } this.tableAM_ASSET_SEWER_SECTION = ((AM_ASSET_SEWER_SECTIONDataTable)(base.Tables["AM_ASSET_SEWER_SECTION"])); if ((initTable == true)) { if ((this.tableAM_ASSET_SEWER_SECTION != null)) { this.tableAM_ASSET_SEWER_SECTION.InitVars(); } } this.tableAM_ASSET_SEWER_LATERAL = ((AM_ASSET_SEWER_LATERALDataTable)(base.Tables["AM_ASSET_SEWER_LATERAL"])); if ((initTable == true)) { if ((this.tableAM_ASSET_SEWER_LATERAL != null)) { this.tableAM_ASSET_SEWER_LATERAL.InitVars(); } } this.tableAM_ASSET_SEWER_MH = ((AM_ASSET_SEWER_MHDataTable)(base.Tables["AM_ASSET_SEWER_MH"])); if ((initTable == true)) { if ((this.tableAM_ASSET_SEWER_MH != null)) { this.tableAM_ASSET_SEWER_MH.InitVars(); } } this.tableAM_ASSET_SEWER_MH_MATERIAL_TYPE = ((AM_ASSET_SEWER_MH_MATERIAL_TYPEDataTable)(base.Tables["AM_ASSET_SEWER_MH_MATERIAL_TYPE"])); if ((initTable == true)) { if ((this.tableAM_ASSET_SEWER_MH_MATERIAL_TYPE != null)) { this.tableAM_ASSET_SEWER_MH_MATERIAL_TYPE.InitVars(); } } this.relationFK_AM_ASSET_SEWER_AM_ASSET_SEWER_MATERIAL = this.Relations["FK_AM_ASSET_SEWER_AM_ASSET_SEWER_MATERIAL"]; this.relationAM_ASSET_SEWER_AM_ASSET = this.Relations["AM_ASSET_SEWER_AM_ASSET"]; this.relationFK_AM_ASSET_SEWER_AM_ASSET_SEWER_SECTION = this.Relations["FK_AM_ASSET_SEWER_AM_ASSET_SEWER_SECTION"]; this.relationAM_ASSET_SEWER_AM_ASSET_SEWER_LATERAL = this.Relations["AM_ASSET_SEWER_AM_ASSET_SEWER_LATERAL"]; this.relationAM_ASSET_SEWER_SECTION_AM_ASSET_SEWER_LATERAL = this.Relations["AM_ASSET_SEWER_SECTION_AM_ASSET_SEWER_LATERAL"]; }