public override global::System.Data.DataTable Clone() { QueriesDataTable cln = ((QueriesDataTable)(base.Clone())); cln.InitVars(); return(cln); }
private void InitClass() { this.DataSetName = "QueriesReportDataSet"; this.Prefix = ""; this.Namespace = "http://tempuri.org/QueriesReportDataSet.xsd"; this.EnforceConstraints = true; this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; this.tableQueries = new QueriesDataTable(); base.Tables.Add(this.tableQueries); }
internal void InitVars(bool initTable) { this.tableQueries = ((QueriesDataTable)(base.Tables["Queries"])); if ((initTable == true)) { if ((this.tableQueries != null)) { this.tableQueries.InitVars(); } } }
internal QueriesRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableQueries = ((QueriesDataTable)(this.Table)); }
private void InitClass() { this.DataSetName = "TDSQueriesTree"; this.Prefix = ""; this.Namespace = "http://tempuri.org/TDSQueriesTree.xsd"; this.EnforceConstraints = true; this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; this.tableFolders = new FoldersDataTable(); base.Tables.Add(this.tableFolders); this.tableQueryTypes = new QueryTypesDataTable(); base.Tables.Add(this.tableQueryTypes); this.tableQueryParameters = new QueryParametersDataTable(); base.Tables.Add(this.tableQueryParameters); this.tableParametersValues = new ParametersValuesDataTable(); base.Tables.Add(this.tableParametersValues); this.tableQueries = new QueriesDataTable(); base.Tables.Add(this.tableQueries); global::System.Data.ForeignKeyConstraint fkc; fkc = new global::System.Data.ForeignKeyConstraint("FK_QueryParameters_ParametersValues", new global::System.Data.DataColumn[] { this.tableQueryParameters.IDColumn}, new global::System.Data.DataColumn[] { this.tableParametersValues.ParameterIDColumn}); this.tableParametersValues.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("FK_Queries_ParametersValues", new global::System.Data.DataColumn[] { this.tableQueries.IDColumn}, new global::System.Data.DataColumn[] { this.tableParametersValues.QueryIDColumn}); this.tableParametersValues.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("FK_Folders_Queries", new global::System.Data.DataColumn[] { this.tableFolders.IDColumn}, new global::System.Data.DataColumn[] { this.tableQueries.FolderIDColumn}); this.tableQueries.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("FK_QueryTypes_Queries", new global::System.Data.DataColumn[] { this.tableQueryTypes.IDColumn}, new global::System.Data.DataColumn[] { this.tableQueries.TypeIDColumn}); this.tableQueries.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.relationFK_QueryParameters_ParametersValues = new global::System.Data.DataRelation("FK_QueryParameters_ParametersValues", new global::System.Data.DataColumn[] { this.tableQueryParameters.IDColumn}, new global::System.Data.DataColumn[] { this.tableParametersValues.ParameterIDColumn}, false); this.Relations.Add(this.relationFK_QueryParameters_ParametersValues); this.relationFolders_Folders = new global::System.Data.DataRelation("Folders_Folders", new global::System.Data.DataColumn[] { this.tableFolders.IDColumn}, new global::System.Data.DataColumn[] { this.tableFolders.ParentIDColumn}, false); this.relationFolders_Folders.Nested = true; this.Relations.Add(this.relationFolders_Folders); }
internal void InitVars(bool initTable) { this.tableFolders = ((FoldersDataTable)(base.Tables["Folders"])); if ((initTable == true)) { if ((this.tableFolders != null)) { this.tableFolders.InitVars(); } } this.tableQueryTypes = ((QueryTypesDataTable)(base.Tables["QueryTypes"])); if ((initTable == true)) { if ((this.tableQueryTypes != null)) { this.tableQueryTypes.InitVars(); } } this.tableQueryParameters = ((QueryParametersDataTable)(base.Tables["QueryParameters"])); if ((initTable == true)) { if ((this.tableQueryParameters != null)) { this.tableQueryParameters.InitVars(); } } this.tableParametersValues = ((ParametersValuesDataTable)(base.Tables["ParametersValues"])); if ((initTable == true)) { if ((this.tableParametersValues != null)) { this.tableParametersValues.InitVars(); } } this.tableQueries = ((QueriesDataTable)(base.Tables["Queries"])); if ((initTable == true)) { if ((this.tableQueries != null)) { this.tableQueries.InitVars(); } } this.relationFK_QueryParameters_ParametersValues = this.Relations["FK_QueryParameters_ParametersValues"]; this.relationFolders_Folders = this.Relations["Folders_Folders"]; }