I have been wondering if it is possible to describe a multi level relation using the fluent api from EFCore. For example
class User{public ICollection<Group> MemberOfGroups;}public class Group {public ICollection<GroupRole> Roles; }public class GroupRole{public ICollection<User> Members;}
class User{public ICollection<Group> MemberOfGroups;}public class Group {public ICollection<GroupRole> Roles; }public class GroupRole{public ICollection<User> Members;}
where MemberOfGroups is based on the Members from Roles from the Group?