Friday, January 13, 2012

Don't query against calculated fields when using IQueryable and LinqSpecs. It doesn't work.

If you have an object called Person with a FirstName and a LastName being hydrated from a database and a FullName being exposed by way of a method on Person as a calculation of the two results...

Expect IQueryable to fail when trying to run a query against FullName.

No comments:

Post a Comment