❔ Include several include within get method
Helllo, i got an issue about including more than many entity relation to getAsync method. The reason is that causing a problem my getAsync method consist only one IIncludableQueryable parameter. But i have to include 3 different relation. Here is my getAsync method and my include method.
GetAsync Method == >
Include Method ===>
4 Replies
its .Include(...).Include(...).Include(...) not .xInclude(...) && x.Include...
Also check out .ThenInclude if necessary, to let you include nested entities
Ty it works now
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.