internal RequestHeaderRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableRequestHeader = ((RequestHeaderDataTable)(this.Table)); }
private void InitClass() { this.DataSetName = "HtmlUnitTestReport"; this.Prefix = ""; this.Namespace = "http://ecyware.com/2004/01/HtmlUnitTestReport"; this.EnforceConstraints = true; this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; this.tableResponseDocument = new ResponseDocumentDataTable(); base.Tables.Add(this.tableResponseDocument); this.tableRequestHeader = new RequestHeaderDataTable(); base.Tables.Add(this.tableRequestHeader); this.tableRequestItems = new RequestItemsDataTable(); base.Tables.Add(this.tableRequestItems); this.tableResponseHeader = new ResponseHeaderDataTable(); base.Tables.Add(this.tableResponseHeader); this.tableResponseItems = new ResponseItemsDataTable(); base.Tables.Add(this.tableResponseItems); this.tableCookies = new CookiesDataTable(); base.Tables.Add(this.tableCookies); this.tableTestItem = new TestItemDataTable(); base.Tables.Add(this.tableTestItem); this.tableForm = new FormDataTable(); base.Tables.Add(this.tableForm); this.tableTests = new TestsDataTable(); base.Tables.Add(this.tableTests); global::System.Data.ForeignKeyConstraint fkc; fkc = new global::System.Data.ForeignKeyConstraint("ResponseDocument_RequestHeader", new global::System.Data.DataColumn[] { this.tableResponseDocument.ResponseDocument_IdColumn}, new global::System.Data.DataColumn[] { this.tableRequestHeader.ResponseDocument_IdColumn}); this.tableRequestHeader.Constraints.Add(fkc); fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None; fkc.DeleteRule = global::System.Data.Rule.Cascade; fkc.UpdateRule = global::System.Data.Rule.Cascade; fkc = new global::System.Data.ForeignKeyConstraint("RequestHeader_RequestItems", new global::System.Data.DataColumn[] { this.tableRequestHeader.RequestHeader_IdColumn}, new global::System.Data.DataColumn[] { this.tableRequestItems.RequestHeader_IdColumn}); this.tableRequestItems.Constraints.Add(fkc); fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None; fkc.DeleteRule = global::System.Data.Rule.Cascade; fkc.UpdateRule = global::System.Data.Rule.Cascade; fkc = new global::System.Data.ForeignKeyConstraint("ResponseDocument_ResponseHeader", new global::System.Data.DataColumn[] { this.tableResponseDocument.ResponseDocument_IdColumn}, new global::System.Data.DataColumn[] { this.tableResponseHeader.ResponseDocument_IdColumn}); this.tableResponseHeader.Constraints.Add(fkc); fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None; fkc.DeleteRule = global::System.Data.Rule.Cascade; fkc.UpdateRule = global::System.Data.Rule.Cascade; fkc = new global::System.Data.ForeignKeyConstraint("ResponseHeader_ResponseItems", new global::System.Data.DataColumn[] { this.tableResponseHeader.ResponseHeader_IdColumn}, new global::System.Data.DataColumn[] { this.tableResponseItems.ResponseHeader_IdColumn}); this.tableResponseItems.Constraints.Add(fkc); fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None; fkc.DeleteRule = global::System.Data.Rule.Cascade; fkc.UpdateRule = global::System.Data.Rule.Cascade; fkc = new global::System.Data.ForeignKeyConstraint("ResponseDocument_Cookies", new global::System.Data.DataColumn[] { this.tableResponseDocument.ResponseDocument_IdColumn}, new global::System.Data.DataColumn[] { this.tableCookies.ResponseDocument_IdColumn}); this.tableCookies.Constraints.Add(fkc); fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None; fkc.DeleteRule = global::System.Data.Rule.Cascade; fkc.UpdateRule = global::System.Data.Rule.Cascade; fkc = new global::System.Data.ForeignKeyConstraint("ResponseDocument_TestItem", new global::System.Data.DataColumn[] { this.tableResponseDocument.ResponseDocument_IdColumn}, new global::System.Data.DataColumn[] { this.tableTestItem.ResponseDocument_IdColumn}); this.tableTestItem.Constraints.Add(fkc); fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None; fkc.DeleteRule = global::System.Data.Rule.Cascade; fkc.UpdateRule = global::System.Data.Rule.Cascade; fkc = new global::System.Data.ForeignKeyConstraint("TestItem_Form", new global::System.Data.DataColumn[] { this.tableTestItem.TestItem_IdColumn}, new global::System.Data.DataColumn[] { this.tableForm.TestItem_IdColumn}); this.tableForm.Constraints.Add(fkc); fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None; fkc.DeleteRule = global::System.Data.Rule.Cascade; fkc.UpdateRule = global::System.Data.Rule.Cascade; fkc = new global::System.Data.ForeignKeyConstraint("TestItem_Tests", new global::System.Data.DataColumn[] { this.tableTestItem.TestItem_IdColumn}, new global::System.Data.DataColumn[] { this.tableTests.TestItem_IdColumn}); this.tableTests.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.relationResponseDocument_RequestHeader = new global::System.Data.DataRelation("ResponseDocument_RequestHeader", new global::System.Data.DataColumn[] { this.tableResponseDocument.ResponseDocument_IdColumn}, new global::System.Data.DataColumn[] { this.tableRequestHeader.ResponseDocument_IdColumn}, false); this.relationResponseDocument_RequestHeader.Nested = true; this.Relations.Add(this.relationResponseDocument_RequestHeader); this.relationRequestHeader_RequestItems = new global::System.Data.DataRelation("RequestHeader_RequestItems", new global::System.Data.DataColumn[] { this.tableRequestHeader.RequestHeader_IdColumn}, new global::System.Data.DataColumn[] { this.tableRequestItems.RequestHeader_IdColumn}, false); this.relationRequestHeader_RequestItems.Nested = true; this.Relations.Add(this.relationRequestHeader_RequestItems); this.relationResponseDocument_ResponseHeader = new global::System.Data.DataRelation("ResponseDocument_ResponseHeader", new global::System.Data.DataColumn[] { this.tableResponseDocument.ResponseDocument_IdColumn}, new global::System.Data.DataColumn[] { this.tableResponseHeader.ResponseDocument_IdColumn}, false); this.relationResponseDocument_ResponseHeader.Nested = true; this.Relations.Add(this.relationResponseDocument_ResponseHeader); this.relationResponseHeader_ResponseItems = new global::System.Data.DataRelation("ResponseHeader_ResponseItems", new global::System.Data.DataColumn[] { this.tableResponseHeader.ResponseHeader_IdColumn}, new global::System.Data.DataColumn[] { this.tableResponseItems.ResponseHeader_IdColumn}, false); this.relationResponseHeader_ResponseItems.Nested = true; this.Relations.Add(this.relationResponseHeader_ResponseItems); this.relationResponseDocument_Cookies = new global::System.Data.DataRelation("ResponseDocument_Cookies", new global::System.Data.DataColumn[] { this.tableResponseDocument.ResponseDocument_IdColumn}, new global::System.Data.DataColumn[] { this.tableCookies.ResponseDocument_IdColumn}, false); this.relationResponseDocument_Cookies.Nested = true; this.Relations.Add(this.relationResponseDocument_Cookies); this.relationResponseDocument_TestItem = new global::System.Data.DataRelation("ResponseDocument_TestItem", new global::System.Data.DataColumn[] { this.tableResponseDocument.ResponseDocument_IdColumn}, new global::System.Data.DataColumn[] { this.tableTestItem.ResponseDocument_IdColumn}, false); this.relationResponseDocument_TestItem.Nested = true; this.Relations.Add(this.relationResponseDocument_TestItem); this.relationTestItem_Form = new global::System.Data.DataRelation("TestItem_Form", new global::System.Data.DataColumn[] { this.tableTestItem.TestItem_IdColumn}, new global::System.Data.DataColumn[] { this.tableForm.TestItem_IdColumn}, false); this.relationTestItem_Form.Nested = true; this.Relations.Add(this.relationTestItem_Form); this.relationTestItem_Tests = new global::System.Data.DataRelation("TestItem_Tests", new global::System.Data.DataColumn[] { this.tableTestItem.TestItem_IdColumn}, new global::System.Data.DataColumn[] { this.tableTests.TestItem_IdColumn}, false); this.relationTestItem_Tests.Nested = true; this.Relations.Add(this.relationTestItem_Tests); }
internal void InitVars(bool initTable) { this.tableResponseDocument = ((ResponseDocumentDataTable)(base.Tables["ResponseDocument"])); if ((initTable == true)) { if ((this.tableResponseDocument != null)) { this.tableResponseDocument.InitVars(); } } this.tableRequestHeader = ((RequestHeaderDataTable)(base.Tables["RequestHeader"])); if ((initTable == true)) { if ((this.tableRequestHeader != null)) { this.tableRequestHeader.InitVars(); } } this.tableRequestItems = ((RequestItemsDataTable)(base.Tables["RequestItems"])); if ((initTable == true)) { if ((this.tableRequestItems != null)) { this.tableRequestItems.InitVars(); } } this.tableResponseHeader = ((ResponseHeaderDataTable)(base.Tables["ResponseHeader"])); if ((initTable == true)) { if ((this.tableResponseHeader != null)) { this.tableResponseHeader.InitVars(); } } this.tableResponseItems = ((ResponseItemsDataTable)(base.Tables["ResponseItems"])); if ((initTable == true)) { if ((this.tableResponseItems != null)) { this.tableResponseItems.InitVars(); } } this.tableCookies = ((CookiesDataTable)(base.Tables["Cookies"])); if ((initTable == true)) { if ((this.tableCookies != null)) { this.tableCookies.InitVars(); } } this.tableTestItem = ((TestItemDataTable)(base.Tables["TestItem"])); if ((initTable == true)) { if ((this.tableTestItem != null)) { this.tableTestItem.InitVars(); } } this.tableForm = ((FormDataTable)(base.Tables["Form"])); if ((initTable == true)) { if ((this.tableForm != null)) { this.tableForm.InitVars(); } } this.tableTests = ((TestsDataTable)(base.Tables["Tests"])); if ((initTable == true)) { if ((this.tableTests != null)) { this.tableTests.InitVars(); } } this.relationResponseDocument_RequestHeader = this.Relations["ResponseDocument_RequestHeader"]; this.relationRequestHeader_RequestItems = this.Relations["RequestHeader_RequestItems"]; this.relationResponseDocument_ResponseHeader = this.Relations["ResponseDocument_ResponseHeader"]; this.relationResponseHeader_ResponseItems = this.Relations["ResponseHeader_ResponseItems"]; this.relationResponseDocument_Cookies = this.Relations["ResponseDocument_Cookies"]; this.relationResponseDocument_TestItem = this.Relations["ResponseDocument_TestItem"]; this.relationTestItem_Form = this.Relations["TestItem_Form"]; this.relationTestItem_Tests = this.Relations["TestItem_Tests"]; }