EF Query using .Contains() and .ToLowerInvariant() Results in no matches when match is found at the end of a string
- by MyNameIsJob
Is it possible to step into a linq query? I have a linq to entity framework 4 query in it's simplest form:
List = List.Where(f => f.Value.ToString().ToLowerInvariant().Contains(filter.ToLowerInvariant()));
It's a query against an Entity Framework DbContext and I'm having trouble seeing why it works for something like:
List searching for 001…