Wednesday, August 24, 2011

more IQueryable magic

A line of code starting with var foo = and ending with...

 
 

.Where(p => p.Id == id).OrderBy(p => p.Name); shows off the power of IQueryable. In this case the second half is bound to GetAll() which is explained here.

No comments:

Post a Comment