Arthur Vickers
Arthur Vickers
@dylanbeattie I'm trying to understand how this would work. Can you write an example of the complete `OnModelCreating` code that you would like to write to map the types above...
@SaeedMolaiy Consider reading [the documentation on change tracking](https://learn.microsoft.com/en-us/ef/core/change-tracking/).
@SaeedMolaiy Yes, this is by-design. If you want partial updates, then you'll need to either - Transfer original values to and from the client - Re-query for the entity before...
Note from triage: current plan is to do this when we implement [query batching](https://github.com/dotnet/efcore/issues/10878).
@Enngage What, exactly, do you want to hash? Should it be the same if the query has different parameter values? What about constants? What about when different IQueryables generate the...
@Enngage That's why I asked, "What, exactly, do you want to hash?" Because typically in EF Core, the same query but a different parameter value would be considered the same...
@henrikwidlund It doesn't look to me that will improve perf, and we also can't make a breaking change here. Is this something you still want to pursue?
I think for a measurable real world perf issue, we would consider changing the API surface. I'm not sure we want to do this for a speculative change. @roji Thoughts?
This issue is lacking enough information for us to be able to fully understand what is happening. Please attach a small, runnable project or post a small, runnable code listing...