public override global::System.Data.DataTable Clone() { ProjectsDataTable cln = ((ProjectsDataTable)(base.Clone())); cln.InitVars(); return(cln); }
private void InitClass() { this.DataSetName = "ArchivedProjectsDataSet"; this.Prefix = ""; this.Namespace = "http://schemas.microsoft.com/office/project/server/webservices/ArchivedProjectsDa" + "taSet/"; this.EnforceConstraints = true; this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; this.tableProjects = new ProjectsDataTable(); base.Tables.Add(this.tableProjects); }
internal void InitVars(bool initTable) { this.tableProjects = ((ProjectsDataTable)(base.Tables["Projects"])); if ((initTable == true)) { if ((this.tableProjects != null)) { this.tableProjects.InitVars(); } } }
private void InitClass() { this.DataSetName = "MasterStore"; this.Prefix = ""; this.Namespace = "http://subsonicproject.com/schemas/MasterStore.xsd"; this.EnforceConstraints = true; this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; this.tableProjects = new ProjectsDataTable(); base.Tables.Add(this.tableProjects); this.tableProviderTypes = new ProviderTypesDataTable(); base.Tables.Add(this.tableProviderTypes); this.tableProviders = new ProvidersDataTable(); base.Tables.Add(this.tableProviders); this.tableConnectionStrings = new ConnectionStringsDataTable(); base.Tables.Add(this.tableConnectionStrings); this.tableSubStageConfiguration = new SubStageConfigurationDataTable(); base.Tables.Add(this.tableSubStageConfiguration); global::System.Data.ForeignKeyConstraint fkc; fkc = new global::System.Data.ForeignKeyConstraint("FK_Providers_Projects", new global::System.Data.DataColumn[] { this.tableProviders.ProviderIdColumn}, new global::System.Data.DataColumn[] { this.tableProjects.DefaultProviderColumn}); this.tableProjects.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_Projects_Providers", new global::System.Data.DataColumn[] { this.tableProjects.ProjectIdColumn}, new global::System.Data.DataColumn[] { this.tableProviders.ProjectIdColumn}); this.tableProviders.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_ConnectionStrings_Providers", new global::System.Data.DataColumn[] { this.tableConnectionStrings.ConnectionStringIdColumn}, new global::System.Data.DataColumn[] { this.tableProviders.ConnectionStringIdColumn}); this.tableProviders.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_ProviderTypes_Providers", new global::System.Data.DataColumn[] { this.tableProviderTypes.ProviderTypeIdColumn}, new global::System.Data.DataColumn[] { this.tableProviders.ProviderTypeIdColumn}); this.tableProviders.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_Providers_Projects = new global::System.Data.DataRelation("FK_Providers_Projects", new global::System.Data.DataColumn[] { this.tableProviders.ProviderIdColumn}, new global::System.Data.DataColumn[] { this.tableProjects.DefaultProviderColumn}, false); this.Relations.Add(this.relationFK_Providers_Projects); this.relationFK_Projects_Providers = new global::System.Data.DataRelation("FK_Projects_Providers", new global::System.Data.DataColumn[] { this.tableProjects.ProjectIdColumn}, new global::System.Data.DataColumn[] { this.tableProviders.ProjectIdColumn}, false); this.Relations.Add(this.relationFK_Projects_Providers); this.relationFK_ConnectionStrings_Providers = new global::System.Data.DataRelation("FK_ConnectionStrings_Providers", new global::System.Data.DataColumn[] { this.tableConnectionStrings.ConnectionStringIdColumn}, new global::System.Data.DataColumn[] { this.tableProviders.ConnectionStringIdColumn}, false); this.Relations.Add(this.relationFK_ConnectionStrings_Providers); this.relationFK_ProviderTypes_Providers = new global::System.Data.DataRelation("FK_ProviderTypes_Providers", new global::System.Data.DataColumn[] { this.tableProviderTypes.ProviderTypeIdColumn}, new global::System.Data.DataColumn[] { this.tableProviders.ProviderTypeIdColumn}, false); this.Relations.Add(this.relationFK_ProviderTypes_Providers); }
internal ProjectsRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableProjects = ((ProjectsDataTable)(this.Table)); }
internal void InitVars(bool initTable) { this.tableProjects = ((ProjectsDataTable)(base.Tables["Projects"])); if ((initTable == true)) { if ((this.tableProjects != null)) { this.tableProjects.InitVars(); } } this.tableProviderTypes = ((ProviderTypesDataTable)(base.Tables["ProviderTypes"])); if ((initTable == true)) { if ((this.tableProviderTypes != null)) { this.tableProviderTypes.InitVars(); } } this.tableProviders = ((ProvidersDataTable)(base.Tables["Providers"])); if ((initTable == true)) { if ((this.tableProviders != null)) { this.tableProviders.InitVars(); } } this.tableConnectionStrings = ((ConnectionStringsDataTable)(base.Tables["ConnectionStrings"])); if ((initTable == true)) { if ((this.tableConnectionStrings != null)) { this.tableConnectionStrings.InitVars(); } } this.tableSubStageConfiguration = ((SubStageConfigurationDataTable)(base.Tables["SubStageConfiguration"])); if ((initTable == true)) { if ((this.tableSubStageConfiguration != null)) { this.tableSubStageConfiguration.InitVars(); } } this.relationFK_Providers_Projects = this.Relations["FK_Providers_Projects"]; this.relationFK_Projects_Providers = this.Relations["FK_Projects_Providers"]; this.relationFK_ConnectionStrings_Providers = this.Relations["FK_ConnectionStrings_Providers"]; this.relationFK_ProviderTypes_Providers = this.Relations["FK_ProviderTypes_Providers"]; }
private void InitClass() { DataSetName = "ProjectsSet"; Prefix = ""; Namespace = "http://tempuri.org/ProjectsSet.xsd"; EnforceConstraints = true; SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; tableProjects = new ProjectsDataTable(); base.Tables.Add(tableProjects); }
internal void InitVars(bool initTable) { tableProjects = ((ProjectsDataTable)(base.Tables["Projects"])); if ((initTable == true)) { if ((tableProjects != null)) { tableProjects.InitVars(); } } }
internal ProjectsRow(global::System.Data.DataRowBuilder rb) : base(rb) { this.tableProjects = ((ProjectsDataTable)(this.Table)); }