C
C#2y 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
dragzunOP2y ago
ok, i needed ThenInclude
Want results from more Discord servers?
Add your server