Relative Content

Tag Archive for entity-framework-core.net-7.0db-first

Including navigation properties in Ef Core when calling SP

I have an SP written in MS SQL which it’s selecting the entities from a table “Records”, and I have another table that has a many files for each Record entity “one to many relationship between records and files”. I created the sp and it’s selecting the data right, with a left join for this many table. Now I want to fill the Record Files entity for each record just like when I make the .Include(x => x.Files) in ef core. And it’s being null all the time