mirror of
https://github.com/immense/Remotely.git
synced 2025-10-26 11:27:15 +00:00
Add new navigation properties to enable cascade delete.
This commit is contained in:
parent
63d511c083
commit
ed48f209d0
@ -848,6 +848,8 @@ namespace Remotely.Server.Services
|
||||
.ThenInclude(x => x.Devices)
|
||||
.Include(x => x.Organization)
|
||||
.Include(x => x.Alerts)
|
||||
.Include(x => x.SavedScripts)
|
||||
.Include(x => x.ScriptSchedules)
|
||||
.FirstOrDefault(x =>
|
||||
x.Id == targetUserID &&
|
||||
x.OrganizationID == orgID);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user