Efcore: Entity framework does not interpret .Equals in the query right

Created on 21 Oct 2019  路  2Comments  路  Source: dotnet/efcore

Using .Equals instead of == in a query result in an empty list. Tested in 3.0. Breaking change from 2.1.

image

closed-fixed customer-reported type-bug

Most helpful comment

I am going to fix issue just for the awesome post by the OP! 馃槃

All 2 comments

Seems like EqualsTranslator is improperly identifying string.Equals(string, StringComparison) and eliding it.

I am going to fix issue just for the awesome post by the OP! 馃槃

Was this page helpful?
0 / 5 - 0 ratings