I need to write a small blog (just a task at university). It involves a page that shows a single blog post and all comments for it. With PHP and SQL it would be a no-brainer, but I don't quite understand how would that work with Entity Framework. Should
I make it so each blog post has a field that is a list of IDs of related comments, or should I make every ID have a field that points to a related blog post?
↧
Complex queries with Entity Framework
↧