© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
4 replies
Nathan S.

EF Structuring Problem

Basically I have users that I want to assign to a group. But I also want the group to have a parent, that in of itself may have a parent, etc. Should I just make a model that has a Parent attribute and a Children attribute with a list of Group? If so, how? I had issues with building this previously.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ Dotnet ef problem
C#CC# / help
3mo ago
EF problem with mapping
C#CC# / help
2y ago
EF problem with mapping
C#CC# / help
2y ago
✅ dotnet ef scaffold problem
C#CC# / help
3y ago