© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
36 replies
Metalkon

Am I doing this correctly? (Foreign Keys & Such, Entity Framework & SQL Server)

I'm trying to figure out how to store objects within objects in the database, that can only be accessed directly or through the UserModel... Kinda like having a sub-folder for organization sake so the usermodel doesn't have 30 columns in it.

I only understand sql on a basic beginner level (one table for one thing, through entity framework only) and asking chatgpt has gotten me this far and i'm not srue if im even doing it right.
image.png
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

Entity Framework Foreign Key
C#CC# / help
2y ago
Foreign Key | Entity Framework
C#CC# / help
2y ago
Entity Framework Foreign Key restraint
C#CC# / help
16mo ago
Entity Framework SQL Error 19 - Foreign Key Constraint Failed
C#CC# / help
4y ago