internal LFS_JUNCTION_LINER2_HISTORYRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableLFS_JUNCTION_LINER2_HISTORY = ((LFS_JUNCTION_LINER2_HISTORYDataTable)(this.Table)); }
internal void InitVars(bool initTable) { this.tableLFS_MASTER_AREA = ((LFS_MASTER_AREADataTable)(base.Tables["LFS_MASTER_AREA"])); if ((initTable == true)) { if ((this.tableLFS_MASTER_AREA != null)) { this.tableLFS_MASTER_AREA.InitVars(); } } this.tableLFS_JUNCTION_LINER2 = ((LFS_JUNCTION_LINER2DataTable)(base.Tables["LFS_JUNCTION_LINER2"])); if ((initTable == true)) { if ((this.tableLFS_JUNCTION_LINER2 != null)) { this.tableLFS_JUNCTION_LINER2.InitVars(); } } this.tableLFS_JUNCTION_LINER2_COMMENT = ((LFS_JUNCTION_LINER2_COMMENTDataTable)(base.Tables["LFS_JUNCTION_LINER2_COMMENT"])); if ((initTable == true)) { if ((this.tableLFS_JUNCTION_LINER2_COMMENT != null)) { this.tableLFS_JUNCTION_LINER2_COMMENT.InitVars(); } } this.tableLFS_JUNCTION_LINER2_HISTORY = ((LFS_JUNCTION_LINER2_HISTORYDataTable)(base.Tables["LFS_JUNCTION_LINER2_HISTORY"])); if ((initTable == true)) { if ((this.tableLFS_JUNCTION_LINER2_HISTORY != null)) { this.tableLFS_JUNCTION_LINER2_HISTORY.InitVars(); } } this.relationFK_LFS_JUNCTION_LINER2_LFS_MASTER_AREA = this.Relations["FK_LFS_JUNCTION_LINER2_LFS_MASTER_AREA"]; this.relationLFS_JUNCTION_LINER2_LFS_JUNCTION_LINER2_HISTORY = this.Relations["LFS_JUNCTION_LINER2_LFS_JUNCTION_LINER2_HISTORY"]; this.relationLFS_JUNCTION_LINER2_LFS_JUNCTION_LINER2_COMMENT = this.Relations["LFS_JUNCTION_LINER2_LFS_JUNCTION_LINER2_COMMENT"]; }
private void InitClass() { this.DataSetName = "Fix1TDS"; this.Prefix = ""; this.Namespace = "http://tempuri.org/Fix1TDS.xsd"; this.EnforceConstraints = true; this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; this.tableLFS_MASTER_AREA = new LFS_MASTER_AREADataTable(); base.Tables.Add(this.tableLFS_MASTER_AREA); this.tableLFS_JUNCTION_LINER2 = new LFS_JUNCTION_LINER2DataTable(); base.Tables.Add(this.tableLFS_JUNCTION_LINER2); this.tableLFS_JUNCTION_LINER2_COMMENT = new LFS_JUNCTION_LINER2_COMMENTDataTable(); base.Tables.Add(this.tableLFS_JUNCTION_LINER2_COMMENT); this.tableLFS_JUNCTION_LINER2_HISTORY = new LFS_JUNCTION_LINER2_HISTORYDataTable(); base.Tables.Add(this.tableLFS_JUNCTION_LINER2_HISTORY); this.relationFK_LFS_JUNCTION_LINER2_LFS_MASTER_AREA = new global::System.Data.DataRelation("FK_LFS_JUNCTION_LINER2_LFS_MASTER_AREA", new global::System.Data.DataColumn[] { this.tableLFS_MASTER_AREA.IDColumn}, new global::System.Data.DataColumn[] { this.tableLFS_JUNCTION_LINER2.IDColumn}, false); this.Relations.Add(this.relationFK_LFS_JUNCTION_LINER2_LFS_MASTER_AREA); this.relationLFS_JUNCTION_LINER2_LFS_JUNCTION_LINER2_HISTORY = new global::System.Data.DataRelation("LFS_JUNCTION_LINER2_LFS_JUNCTION_LINER2_HISTORY", new global::System.Data.DataColumn[] { this.tableLFS_JUNCTION_LINER2.IDColumn, this.tableLFS_JUNCTION_LINER2.RefIDColumn, this.tableLFS_JUNCTION_LINER2.COMPANY_IDColumn}, new global::System.Data.DataColumn[] { this.tableLFS_JUNCTION_LINER2_HISTORY.IDColumn, this.tableLFS_JUNCTION_LINER2_HISTORY.RefIDColumn, this.tableLFS_JUNCTION_LINER2_HISTORY.COMPANY_IDColumn}, false); this.Relations.Add(this.relationLFS_JUNCTION_LINER2_LFS_JUNCTION_LINER2_HISTORY); this.relationLFS_JUNCTION_LINER2_LFS_JUNCTION_LINER2_COMMENT = new global::System.Data.DataRelation("LFS_JUNCTION_LINER2_LFS_JUNCTION_LINER2_COMMENT", new global::System.Data.DataColumn[] { this.tableLFS_JUNCTION_LINER2.IDColumn, this.tableLFS_JUNCTION_LINER2.RefIDColumn, this.tableLFS_JUNCTION_LINER2.COMPANY_IDColumn}, new global::System.Data.DataColumn[] { this.tableLFS_JUNCTION_LINER2_COMMENT.IDColumn, this.tableLFS_JUNCTION_LINER2_COMMENT.RefIDColumn, this.tableLFS_JUNCTION_LINER2_COMMENT.COMPANY_IDColumn}, false); this.Relations.Add(this.relationLFS_JUNCTION_LINER2_LFS_JUNCTION_LINER2_COMMENT); }
private void InitClass() { this.DataSetName = "SectionTDS"; this.Prefix = ""; this.Namespace = "http://tempuri.org/SectionTDS.xsd"; this.EnforceConstraints = true; this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; this.tableLFS_JUNCTION_LINER2_COMMENT = new LFS_JUNCTION_LINER2_COMMENTDataTable(); base.Tables.Add(this.tableLFS_JUNCTION_LINER2_COMMENT); this.tableLFS_JUNCTION_LINER2_HISTORY = new LFS_JUNCTION_LINER2_HISTORYDataTable(); base.Tables.Add(this.tableLFS_JUNCTION_LINER2_HISTORY); this.tableLFS_MASTER_AREA = new LFS_MASTER_AREADataTable(); base.Tables.Add(this.tableLFS_MASTER_AREA); this.tableLFS_JUNCTION_LINER2 = new LFS_JUNCTION_LINER2DataTable(); base.Tables.Add(this.tableLFS_JUNCTION_LINER2); global::System.Data.ForeignKeyConstraint fkc; fkc = new global::System.Data.ForeignKeyConstraint("FK_LFS_MASTER_AREA_LFS_JUNCTION_LINER2", new global::System.Data.DataColumn[] { this.tableLFS_MASTER_AREA.IDColumn}, new global::System.Data.DataColumn[] { this.tableLFS_JUNCTION_LINER2.IDColumn}); this.tableLFS_JUNCTION_LINER2.Constraints.Add(fkc); fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None; fkc.DeleteRule = global::System.Data.Rule.Cascade; fkc.UpdateRule = global::System.Data.Rule.Cascade; this.relationLFS_JUNCTION_LINER2_LFS_JUNCTION_LINER2_HISTORY = new global::System.Data.DataRelation("LFS_JUNCTION_LINER2_LFS_JUNCTION_LINER2_HISTORY", new global::System.Data.DataColumn[] { this.tableLFS_JUNCTION_LINER2.IDColumn, this.tableLFS_JUNCTION_LINER2.RefIDColumn, this.tableLFS_JUNCTION_LINER2.COMPANY_IDColumn}, new global::System.Data.DataColumn[] { this.tableLFS_JUNCTION_LINER2_HISTORY.IDColumn, this.tableLFS_JUNCTION_LINER2_HISTORY.RefIDColumn, this.tableLFS_JUNCTION_LINER2_HISTORY.COMPANY_IDColumn}, false); this.Relations.Add(this.relationLFS_JUNCTION_LINER2_LFS_JUNCTION_LINER2_HISTORY); this.relationLFS_JUNCTION_LINER2_LFS_JUNCTION_LINER2_COMMENT = new global::System.Data.DataRelation("LFS_JUNCTION_LINER2_LFS_JUNCTION_LINER2_COMMENT", new global::System.Data.DataColumn[] { this.tableLFS_JUNCTION_LINER2.IDColumn, this.tableLFS_JUNCTION_LINER2.RefIDColumn, this.tableLFS_JUNCTION_LINER2.COMPANY_IDColumn}, new global::System.Data.DataColumn[] { this.tableLFS_JUNCTION_LINER2_COMMENT.IDColumn, this.tableLFS_JUNCTION_LINER2_COMMENT.RefIDColumn, this.tableLFS_JUNCTION_LINER2_COMMENT.COMPANY_IDColumn}, false); this.Relations.Add(this.relationLFS_JUNCTION_LINER2_LFS_JUNCTION_LINER2_COMMENT); }