private void OnAspnetRolesListRemove(AspnetRoles entity)
 {
     SendPropertyChanging(null);
     entity.AspnetApplications = null;
     SendPropertyChanged(null);
 }
 private void OnAspnetRolesListAdd(AspnetRoles entity)
 {
     SendPropertyChanging(null);
     entity.AspnetApplications = this;
     SendPropertyChanged(null);
 }
Beispiel #3
0
 private void OnAspnetRolesListAdd(AspnetRoles entity)
 {
     SendPropertyChanging(null);
     AspnetUsersInRolesList.Add(new AspnetUsersInRoles { AspnetUsers = this, AspnetRoles = entity });
     SendPropertyChanged(null);
 }
Beispiel #4
0
 private void OnAspnetRolesListRemove(AspnetRoles entity)
 {
     SendPropertyChanging(null);
     var aspnetUsersInRoles = AspnetUsersInRolesList.FirstOrDefault(c => c.UserId == UserId
         && c.RoleId == entity.RoleId);
     AspnetUsersInRolesList.Remove( aspnetUsersInRoles);
     SendPropertyChanged(null);
 }
 partial void OnAspnetRolesChanging(AspnetRoles value);