Replies: 1 comment 3 replies
-
Never :) You don't need |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using if statements below to conditionally include
WorkHistory
andProfileSkills
entities. But I just noticed that regardless of the if statement resulttrue/false
the generated SQL query is always the same.I am just getting myself familiarized with automapper, but my guess is that the ProjectTo() overrides the Includes? So I really need to use my if statements in the mapperConfig like so?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions