Anoos
Anoos
CC#
Created by Anoos on 7/19/2024 in #help
One-to-many relationships - EF
:meowheart:
13 replies
CC#
Created by Anoos on 7/19/2024 in #help
One-to-many relationships - EF
understood thank you guys!
13 replies
CC#
Created by Anoos on 7/19/2024 in #help
One-to-many relationships - EF
so it wasn't null because blogs data is available in the context?
13 replies
CC#
Created by Anoos on 7/19/2024 in #help
One-to-many relationships - EF
I overlooked this part and i think this is whats happening correct me if im wrong. in the same code block i just noticed it was first querying blogs table then later it queries posts
13 replies
CC#
Created by Anoos on 7/19/2024 in #help
One-to-many relationships - EF
no i was just querying the table directly
13 replies
CC#
Created by Anoos on 7/19/2024 in #help
One-to-many relationships - EF
without using include
13 replies
CC#
Created by Anoos on 7/19/2024 in #help
One-to-many relationships - EF
when im testing it in my code im getting the values
13 replies
CC#
Created by Anoos on 7/19/2024 in #help
One-to-many relationships - EF
so if i do something like this var postsIncludingBlog = _context.Posts.ToList(); blog will be null?
13 replies