LINQ in Action roller

Implementing spesifications as expression trees

Hello there, I was preparing a post in my blog about implementing spesifications as lambda expressions that take an object and return a bool, the first problem i got is that applying the "And" extension method to two lambda expression will return a boolean expression , and thats not what i needed. what i need is to be able to write this code Expression<Func<Student,bool>> exp1= s=> s.age>18; Expression<Func<Student,bool>> exp2= s=> s.age<26; Expression<Func<Student,bool>> Read More...
Published Saturday, February 17, 2007 9:47 PM by MSDN Forums: LINQ Project General
Anonymous comments are disabled

Featured Item

This Blog

Sponsoring

Syndication