-
The Specification pattern allows the decision of "how" to select an Entity from the Entity itself - it is a predicate that determines if an object does or does not satisfy some criteria. This allows separation of complex or cross entity logic from the entites themselves. See also: Blogged The...
-
Continuing our series on Domain Driven Design, we now get to one of the more interesting patterns in DDD – the Specification . A Specification is, in simple terms, a small piece of logic that sits on it’s own and gives an answer to a simple question … “does this match?”...