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"]; }
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 MembershipsRow(System.Data.DataRowBuilder rb) : base(rb) { this.tableMemberships = ((MembershipsDataTable)(this.Table)); }