public override global::System.Data.DataTable Clone() { LogEntriesDataTable cln = ((LogEntriesDataTable)(base.Clone())); cln.InitVars(); return(cln); }
private void InitClass() { this.DataSetName = "TestLog"; this.Prefix = ""; this.Namespace = "http://schemas.microsoft.com/windows/ProtocolsTest/2007/07/TestLog"; this.EnforceConstraints = true; this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; this.tableLogEntries = new LogEntriesDataTable(); base.Tables.Add(this.tableLogEntries); this.tableLogEntry = new LogEntryDataTable(); base.Tables.Add(this.tableLogEntry); global::System.Data.ForeignKeyConstraint fkc; fkc = new global::System.Data.ForeignKeyConstraint("LogEntries_LogEntry", new global::System.Data.DataColumn[] { this.tableLogEntries.LogEntries_IdColumn }, new global::System.Data.DataColumn[] { this.tableLogEntry.LogEntries_IdColumn }); this.tableLogEntry.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.relationLogEntries_LogEntry = new global::System.Data.DataRelation("LogEntries_LogEntry", new global::System.Data.DataColumn[] { this.tableLogEntries.LogEntries_IdColumn }, new global::System.Data.DataColumn[] { this.tableLogEntry.LogEntries_IdColumn }, false); this.relationLogEntries_LogEntry.Nested = true; this.Relations.Add(this.relationLogEntries_LogEntry); }
internal void InitVars(bool initTable) { this.tableLogEntries = ((LogEntriesDataTable)(base.Tables["LogEntries"])); if ((initTable == true)) { if ((this.tableLogEntries != null)) { this.tableLogEntries.InitVars(); } } this.tableLogEntry = ((LogEntryDataTable)(base.Tables["LogEntry"])); if ((initTable == true)) { if ((this.tableLogEntry != null)) { this.tableLogEntry.InitVars(); } } this.relationLogEntries_LogEntry = this.Relations["LogEntries_LogEntry"]; }
internal LogEntriesRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableLogEntries = ((LogEntriesDataTable)(this.Table)); }
private void InitClass() { this.DataSetName = "TestLog"; this.Prefix = ""; this.Namespace = "http://schemas.microsoft.com/windows/ProtocolsTest/2007/07/TestLog"; this.EnforceConstraints = true; this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; this.tableLogEntries = new LogEntriesDataTable(); base.Tables.Add(this.tableLogEntries); this.tableLogEntry = new LogEntryDataTable(); base.Tables.Add(this.tableLogEntry); global::System.Data.ForeignKeyConstraint fkc; fkc = new global::System.Data.ForeignKeyConstraint("LogEntries_LogEntry", new global::System.Data.DataColumn[] { this.tableLogEntries.LogEntries_IdColumn}, new global::System.Data.DataColumn[] { this.tableLogEntry.LogEntries_IdColumn}); this.tableLogEntry.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.relationLogEntries_LogEntry = new global::System.Data.DataRelation("LogEntries_LogEntry", new global::System.Data.DataColumn[] { this.tableLogEntries.LogEntries_IdColumn}, new global::System.Data.DataColumn[] { this.tableLogEntry.LogEntries_IdColumn}, false); this.relationLogEntries_LogEntry.Nested = true; this.Relations.Add(this.relationLogEntries_LogEntry); }