stepping into a linq query
Posted
by
MyNameIsJob
on Stack Overflow
See other posts from Stack Overflow
or by MyNameIsJob
Published on 2010-12-27T21:27:54Z
Indexed on
2010/12/27
21:53 UTC
Read the original article
Hit count: 132
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
yields no results against the following list
- Test001
- Test002
- Test003
- Test004
However any other search yields results (Such as t00
or Test
)
I was hoping to figure out a way to see the resulting sql but it appears that I need Intellitrace, which I don't currently have or possibly stepping through the query itself and see each iteration build itself.
© Stack Overflow or respective owner