Using the Enterprise Library 4.1 Validation Application Block, how can I validate that a collection property contains at least one item?
views:
191answers:
2Thanks for providing a range of suggestions.I think for this particular requirement I'll go with #2 Self Validation.
Ian Nelson
2009-10-23 08:51:11
+1
A:
This is already implemented in the EntLib Contrib. This is called CollectionCountValidator.
Skalp
2010-01-06 17:41:33