Deferred execution linq c# Tolower toupper tostring -


im wondering when this:

iqueryable<customer> customers = new iqueryable<customer>(); var customers = db.customers.where(x=> x.name.tolower() == "john"); 

does deferred execution stop @ use of methods "tolower() or toupper or tostring"?

does deferred execution stop @ use of methods "tolower() or toupper or tostring"?

it not matter method called line x.name.tolower() == "john" not executed (actually complete where() not called) unless customers variable materialized or enumerated or unless bring results in memory calling tolist() @ end of query.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -