private void InitClass() { this.DataSetName = "PrintVehicleUsageInUsaTDS"; this.Prefix = ""; this.Namespace = "http://tempuri.org/PrintVehicleUsageInUsaTDS.xsd"; this.EnforceConstraints = true; this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; this.tablePrintVehicleUsageInUSA = new PrintVehicleUsageInUSADataTable(); base.Tables.Add(this.tablePrintVehicleUsageInUSA); this.tableLFS_Towed = new LFS_TowedDataTable(); base.Tables.Add(this.tableLFS_Towed); this.relationFK_LFS_PROJECT_TIME_LFS_UNIT1 = new global::System.Data.DataRelation("FK_LFS_PROJECT_TIME_LFS_UNIT1", new global::System.Data.DataColumn[] { this.tableLFS_Towed.UnitIDColumn}, new global::System.Data.DataColumn[] { this.tablePrintVehicleUsageInUSA.TowedUnitIDColumn}, false); this.Relations.Add(this.relationFK_LFS_PROJECT_TIME_LFS_UNIT1); }
internal LFS_TowedRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableLFS_Towed = ((LFS_TowedDataTable)(this.Table)); }
internal void InitVars(bool initTable) { this.tablePrintVehicleUsageInUSA = ((PrintVehicleUsageInUSADataTable)(base.Tables["PrintVehicleUsageInUSA"])); if ((initTable == true)) { if ((this.tablePrintVehicleUsageInUSA != null)) { this.tablePrintVehicleUsageInUSA.InitVars(); } } this.tableLFS_Towed = ((LFS_TowedDataTable)(base.Tables["LFS_Towed"])); if ((initTable == true)) { if ((this.tableLFS_Towed != null)) { this.tableLFS_Towed.InitVars(); } } this.relationFK_LFS_PROJECT_TIME_LFS_UNIT1 = this.Relations["FK_LFS_PROJECT_TIME_LFS_UNIT1"]; }