internal void InitVars(bool initTable) { this.tableOutstandingPointRepairs = ((OutstandingPointRepairsDataTable)(base.Tables["OutstandingPointRepairs"])); if ((initTable == true)) { if ((this.tableOutstandingPointRepairs != null)) { this.tableOutstandingPointRepairs.InitVars(); } } this.tableLFS_POINT_REPAIRS = ((LFS_POINT_REPAIRSDataTable)(base.Tables["LFS_POINT_REPAIRS"])); if ((initTable == true)) { if ((this.tableLFS_POINT_REPAIRS != null)) { this.tableLFS_POINT_REPAIRS.InitVars(); } } this.relationOutstandingPointRepairsLFS_POINT_REPAIRS = this.Relations["OutstandingPointRepairsLFS_POINT_REPAIRS"]; }
private void InitClass() { this.DataSetName = "TDSOutstandingPointRepairs"; this.Prefix = ""; this.Namespace = "http://tempuri.org/TDSOutstandingPointRepairs.xsd"; this.EnforceConstraints = true; this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; this.tableOutstandingPointRepairs = new OutstandingPointRepairsDataTable(); base.Tables.Add(this.tableOutstandingPointRepairs); this.tableLFS_POINT_REPAIRS = new LFS_POINT_REPAIRSDataTable(); base.Tables.Add(this.tableLFS_POINT_REPAIRS); global::System.Data.ForeignKeyConstraint fkc; fkc = new global::System.Data.ForeignKeyConstraint("OutstandingPointRepairsLFS_POINT_REPAIRS", new global::System.Data.DataColumn[] { this.tableOutstandingPointRepairs.IDColumn, this.tableOutstandingPointRepairs.COMPANY_IDColumn}, new global::System.Data.DataColumn[] { this.tableLFS_POINT_REPAIRS.IDColumn, this.tableLFS_POINT_REPAIRS.COMPANY_IDColumn}); this.tableLFS_POINT_REPAIRS.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.relationOutstandingPointRepairsLFS_POINT_REPAIRS = new global::System.Data.DataRelation("OutstandingPointRepairsLFS_POINT_REPAIRS", new global::System.Data.DataColumn[] { this.tableOutstandingPointRepairs.IDColumn, this.tableOutstandingPointRepairs.COMPANY_IDColumn}, new global::System.Data.DataColumn[] { this.tableLFS_POINT_REPAIRS.IDColumn, this.tableLFS_POINT_REPAIRS.COMPANY_IDColumn}, false); this.Relations.Add(this.relationOutstandingPointRepairsLFS_POINT_REPAIRS); }
internal OutstandingPointRepairsRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableOutstandingPointRepairs = ((OutstandingPointRepairsDataTable)(this.Table)); }