views:

191

answers:

2

Using the Enterprise Library 4.1 Validation Application Block, how can I validate that a collection property contains at least one item?

+1  A: 
Tuzo
Thanks for providing a range of suggestions.I think for this particular requirement I'll go with #2 Self Validation.
Ian Nelson
+1  A: 

This is already implemented in the EntLib Contrib. This is called CollectionCountValidator.

Skalp