private void InitClass() { this.DataSetName = "Memberships"; this.Prefix = ""; this.Namespace = "http://tempuri.org/Memberships.xsd"; this.EnforceConstraints = true; this.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; this.tableMemberships = new MembershipsDataTable(); base.Tables.Add(this.tableMemberships); this.tableUsersInOfficeRoles = new UsersInOfficeRolesDataTable(); base.Tables.Add(this.tableUsersInOfficeRoles); this.tableOffices = new OfficesDataTable(); base.Tables.Add(this.tableOffices); this.tableRoles = new RolesDataTable(); base.Tables.Add(this.tableRoles); this.relationFK_Igrss_UsersInRole_Igrss_Offices = new System.Data.DataRelation("FK_Igrss_UsersInRole_Igrss_Offices", new System.Data.DataColumn[] { this.tableOffices.OfficeIdColumn}, new System.Data.DataColumn[] { this.tableUsersInOfficeRoles.OfficeIdColumn}, false); this.Relations.Add(this.relationFK_Igrss_UsersInRole_Igrss_Offices); this.relationFK_Igrss_UsersInRole_Roles = new System.Data.DataRelation("FK_Igrss_UsersInRole_Roles", new System.Data.DataColumn[] { this.tableRoles.RoleIdColumn}, new System.Data.DataColumn[] { this.tableUsersInOfficeRoles.RoleIdColumn}, false); this.Relations.Add(this.relationFK_Igrss_UsersInRole_Roles); this.relationFK_UsersInRole_Roles = new System.Data.DataRelation("FK_UsersInRole_Roles", new System.Data.DataColumn[] { this.tableRoles.RoleIdColumn}, new System.Data.DataColumn[] { this.tableUsersInOfficeRoles.ReportingUserRoleColumn}, false); this.Relations.Add(this.relationFK_UsersInRole_Roles); this.relationMemberships_UsersInOfficeRoles = new System.Data.DataRelation("Memberships_UsersInOfficeRoles", new System.Data.DataColumn[] { this.tableMemberships.UserIdColumn}, new System.Data.DataColumn[] { this.tableUsersInOfficeRoles.UserIdColumn}, false); this.Relations.Add(this.relationMemberships_UsersInOfficeRoles); }
internal UsersInOfficeRolesRow(System.Data.DataRowBuilder rb) : base(rb) { this.tableUsersInOfficeRoles = ((UsersInOfficeRolesDataTable)(this.Table)); }
private void InitClass() { this.DataSetName = "WorkflowSupprot"; this.Prefix = ""; this.Namespace = "http://tempuri.org/WorkflowSupprot.xsd"; this.EnforceConstraints = true; this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema; this.tableOfficeProcess_LKP = new OfficeProcess_LKPDataTable(); base.Tables.Add(this.tableOfficeProcess_LKP); this.tableUsersInOfficeRoles = new UsersInOfficeRolesDataTable(); base.Tables.Add(this.tableUsersInOfficeRoles); this.tableAlerts = new AlertsDataTable(); base.Tables.Add(this.tableAlerts); }
internal void InitVars(bool initTable) { this.tableMemberships = ((MembershipsDataTable)(base.Tables["Memberships"])); if ((initTable == true)) { if ((this.tableMemberships != null)) { this.tableMemberships.InitVars(); } } this.tableUsersInOfficeRoles = ((UsersInOfficeRolesDataTable)(base.Tables["UsersInOfficeRoles"])); if ((initTable == true)) { if ((this.tableUsersInOfficeRoles != null)) { this.tableUsersInOfficeRoles.InitVars(); } } this.tableOffices = ((OfficesDataTable)(base.Tables["Offices"])); if ((initTable == true)) { if ((this.tableOffices != null)) { this.tableOffices.InitVars(); } } this.tableRoles = ((RolesDataTable)(base.Tables["Roles"])); if ((initTable == true)) { if ((this.tableRoles != null)) { this.tableRoles.InitVars(); } } this.relationFK_Igrss_UsersInRole_Igrss_Offices = this.Relations["FK_Igrss_UsersInRole_Igrss_Offices"]; this.relationFK_Igrss_UsersInRole_Roles = this.Relations["FK_Igrss_UsersInRole_Roles"]; this.relationFK_UsersInRole_Roles = this.Relations["FK_UsersInRole_Roles"]; this.relationMemberships_UsersInOfficeRoles = this.Relations["Memberships_UsersInOfficeRoles"]; }
internal void InitVars(bool initTable) { this.tableOfficeProcess_LKP = ((OfficeProcess_LKPDataTable)(base.Tables["OfficeProcess_LKP"])); if ((initTable == true)) { if ((this.tableOfficeProcess_LKP != null)) { this.tableOfficeProcess_LKP.InitVars(); } } this.tableUsersInOfficeRoles = ((UsersInOfficeRolesDataTable)(base.Tables["UsersInOfficeRoles"])); if ((initTable == true)) { if ((this.tableUsersInOfficeRoles != null)) { this.tableUsersInOfficeRoles.InitVars(); } } this.tableAlerts = ((AlertsDataTable)(base.Tables["Alerts"])); if ((initTable == true)) { if ((this.tableAlerts != null)) { this.tableAlerts.InitVars(); } } }