C
C#14mo ago
dragzun

✅ LINQ Include does not bring all related entities

I am trying to get a client with all its related entities , however my ClientContact entity from ClientsXclientContacts is null, even though I have values in my db. Just for the reference, Main and Financial Contacts work fine. Here is how my code looks : https://paste.mod.gg/lanuzclgzlqs/0
BlazeBin - lanuzclgzlqs
A tool for sharing your source code with the world!
1 Reply
dragzun
dragzun14mo ago
ok, i needed ThenInclude