Saturday, 7 September 2013

Why EF not using IQuerable instead of IEnumerble?

Why EF not using IQuerable instead of IEnumerble?

I saw this in MyContext.MyObject.Where:

which show that EF use IEnumerable<T> as return for Where;now as I see in
this answer that says "IEnumerable<T> will cause all of your rows to be
loaded in memory"; Why EF not using IQuerable<T> instead of IEnumerble<T>
?

No comments:

Post a Comment