c# - Entity Framework core - Contains is case sensitive or case insensitive? -


"contains" in entity framework core should equivalent sql %like% operator. therefore "contains" should case insensitive case sensitive! (at least in postgres????)

the following outputs result when correct casing keyword used.

context.counties.where(x => x.name.contains(keyword)).tolist(); 

what doing wrong?

iqueryable.where executed in database, case insensitive.

ienumerable.where uses c# string.contains, case sensitive.

read answer: returning ienumerable vs. iqueryable


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

java - How to provide dependency injections in Eclipse RCP 3.x? -