public void AddRolesRow(RolesRow row) { this.Rows.Add(row); }
public void RemoveRolesRow(RolesRow row) { this.Rows.Remove(row); }
public RolesRowChangeEvent(RolesRow row, global::System.Data.DataRowAction action) { this.eventRow = row; this.eventAction = action; }
public ApplicationRolesRow AddApplicationRolesRow(ApplicationsRow parentApplicationsRowByFK_ApplicationRoles_Roles, string ApplicationCode, string ApplicationName, RolesRow parentRolesRowByFK_ApplicationRoles_Applications, string RoleCode, string RoleName, bool AllowCreate, bool AllowRead, bool AllowUpdate, bool AllowDelete) { ApplicationRolesRow rowApplicationRolesRow = ((ApplicationRolesRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, ApplicationCode, ApplicationName, null, RoleCode, RoleName, AllowCreate, AllowRead, AllowUpdate, AllowDelete}; if ((parentApplicationsRowByFK_ApplicationRoles_Roles != null)) { columnValuesArray[0] = parentApplicationsRowByFK_ApplicationRoles_Roles[0]; } if ((parentRolesRowByFK_ApplicationRoles_Applications != null)) { columnValuesArray[3] = parentRolesRowByFK_ApplicationRoles_Applications[0]; } rowApplicationRolesRow.ItemArray = columnValuesArray; this.Rows.Add(rowApplicationRolesRow); return rowApplicationRolesRow; }
public UsersRow AddUsersRow(string UserName, string FullName, string Password, string Title, string Department, RolesRow parentRolesRowByFK_Users_Roles, string RoleCode, string RoleName, bool Active) { UsersRow rowUsersRow = ((UsersRow)(this.NewRow())); object[] columnValuesArray = new object[] { null, UserName, FullName, Password, Title, Department, null, RoleCode, RoleName, Active}; if ((parentRolesRowByFK_Users_Roles != null)) { columnValuesArray[6] = parentRolesRowByFK_Users_Roles[0]; } rowUsersRow.ItemArray = columnValuesArray; this.Rows.Add(rowUsersRow); return rowUsersRow; }
public UsersInOfficeRolesRow AddUsersInOfficeRolesRow(MembershipsRow parentMembershipsRowByMemberships_UsersInOfficeRoles, RolesRow parentRolesRowByFK_Igrss_UsersInRole_Roles, OfficesRow parentOfficesRowByFK_Igrss_UsersInRole_Igrss_Offices, string Comments, bool IsActive, string CreatedBy, System.DateTime CreatedAt, string ModifiedBy, System.DateTime ModifiedAt, string DeletedBy, System.DateTime DeletedAt, RolesRow parentRolesRowByFK_UsersInRole_Roles) { UsersInOfficeRolesRow rowUsersInOfficeRolesRow = ((UsersInOfficeRolesRow)(this.NewRow())); rowUsersInOfficeRolesRow.ItemArray = new object[] { parentMembershipsRowByMemberships_UsersInOfficeRoles[0], parentRolesRowByFK_Igrss_UsersInRole_Roles[0], parentOfficesRowByFK_Igrss_UsersInRole_Igrss_Offices[0], Comments, IsActive, CreatedBy, CreatedAt, ModifiedBy, ModifiedAt, DeletedBy, DeletedAt, parentRolesRowByFK_UsersInRole_Roles[0]}; this.Rows.Add(rowUsersInOfficeRolesRow); return rowUsersInOfficeRolesRow; }