views:

111

answers:

2

I'm looking for a pattern for this general case:

"I need to get a subset of data based on directly related criteria and indirectly related data."

A: 

Intercepting Filter perhaps?

slf
Thanks guys, this was the sort of thing I was looking for. :)
A: 

Martin Fowler and Eric Evans's Specification Pattern (pdf) (wikipedia) seems to fit your requirement.

jop
Thanks guys, this was the sort of thing I was looking for. :)