private void InitClass() { this.DataSetName = "OysterUpdateData"; this.Prefix = ""; this.Namespace = "http://tempuri.org/OysterUpdateData.xsd"; this.EnforceConstraints = true; this.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; this.tableJobResults = new JobResultsDataTable(); base.Tables.Add(this.tableJobResults); this.tableJob = new JobDataTable(); base.Tables.Add(this.tableJob); this.tableFiles = new FilesDataTable(); base.Tables.Add(this.tableFiles); System.Data.ForeignKeyConstraint fkc; fkc = new System.Data.ForeignKeyConstraint("Job_Files", new System.Data.DataColumn[] { this.tableJob.Job_IdColumn}, new System.Data.DataColumn[] { this.tableFiles.Job_IdColumn}); this.tableFiles.Constraints.Add(fkc); fkc.AcceptRejectRule = System.Data.AcceptRejectRule.None; fkc.DeleteRule = System.Data.Rule.Cascade; fkc.UpdateRule = System.Data.Rule.Cascade; this.relationJob_Files = new System.Data.DataRelation("Job_Files", new System.Data.DataColumn[] { this.tableJob.Job_IdColumn}, new System.Data.DataColumn[] { this.tableFiles.Job_IdColumn}, false); this.relationJob_Files.Nested = true; this.Relations.Add(this.relationJob_Files); }
internal void InitVars(bool initTable) { this.tableJobResults = ((JobResultsDataTable)(base.Tables["JobResults"])); if ((initTable == true)) { if ((this.tableJobResults != null)) { this.tableJobResults.InitVars(); } } this.tableJob = ((JobDataTable)(base.Tables["Job"])); if ((initTable == true)) { if ((this.tableJob != null)) { this.tableJob.InitVars(); } } this.tableFiles = ((FilesDataTable)(base.Tables["Files"])); if ((initTable == true)) { if ((this.tableFiles != null)) { this.tableFiles.InitVars(); } } this.relationJob_Files = this.Relations["Job_Files"]; }
private void InitClass() { this.DataSetName = "DataStorage"; this.Prefix = ""; this.Namespace = "http://tempuri.org/DataStorage.xsd"; this.EnforceConstraints = true; this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; this.tableJob = new JobDataTable(); base.Tables.Add(this.tableJob); this.tableJobActions = new JobActionsDataTable(); base.Tables.Add(this.tableJobActions); this.relationJob_JobActions = new global::System.Data.DataRelation("Job_JobActions", new global::System.Data.DataColumn[] { this.tableJob.IDColumn}, new global::System.Data.DataColumn[] { this.tableJobActions.JobIDColumn}, false); this.Relations.Add(this.relationJob_JobActions); }
internal JobRow(System.Data.DataRowBuilder rb) : base(rb) { this.tableJob = ((JobDataTable)(this.Table)); }
internal void InitVars(bool initTable) { this.tableJob = ((JobDataTable)(base.Tables["Job"])); if ((initTable == true)) { if ((this.tableJob != null)) { this.tableJob.InitVars(); } } this.tableJobActions = ((JobActionsDataTable)(base.Tables["JobActions"])); if ((initTable == true)) { if ((this.tableJobActions != null)) { this.tableJobActions.InitVars(); } } this.relationJob_JobActions = this.Relations["Job_JobActions"]; }