Browse by Tags

Specification Pattern Continued
Thu, Sep 29 2011 6:35 AM
In a previous post , I talked about the specification pattern. In the last sentence I promised you to keep you posted on the next version of the implementation. I still owe you guys that result. So without further ado: Download it here . The implementation itself is pretty straightforward. The class has a protected property Predicate that takes in a Lambda expression... Read More...
Specification Pattern Implementation
Tue, Nov 30 2010 6:05 AM
For some time now I’ve been willing to find a good implementation of the Specification Pattern. Information about this pattern can be found here: http://en.wikipedia.org/wiki/Specification_pattern interface ISpecification<TEntity> { bool IsSatisfiedBy(TEntity item); } The idea I had was to use the IQueryable of Linq to query over large collections... Read More...