Closed iamr8 closed 5 years ago
w.Throw(CoreEventId.IncludeIgnoredWarning);
and w.Throw(RelationalEventId.QueryClientEvaluationWarning)
enabled. You think your query with a lot of includes
will act as you wanted, but that's not true in EF Core!ConfigureAwait(false)
in ASP.NET Core apps.Cacheable()
method adds the AsNoTracking()
automatically. So you don't need to call it.This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related problems.
Summary of the issue
after change
Where
right part of expression, still returns previous value.Environment
Example code/Steps to reproduce:
Output:
above code returns things that i wanted. but when i use
query.Where(x=> x.Id == "234")
instead ofquery.Where(x=> x.Id == "123")
still returns above code's return value.my suggestion is, in EFDebug's Key, add
.Where
's parameteres of left and right of expression