Identity/EF collection returns null
Hey, so I'm new to using Entity Framework. I tried to extend the Identity User model with a one-to-many relationship, like so:
From here, I want to make a razor page that shows a logged in user's 'Profiles' as a list, but going about it the most obvious way gives me a null value. Is there a step I'm missing for getting collection data, or some other error?
2 Replies