I am using validators on my POCO classes for business validation.
When validating a class that references another class, or a collection of other classes (I apply objectvalidator or objectcollectionvalidator accordingly), I always get a stack overflow exception.
It seems like that each class keeps calling all referenced classes, including the calling one, and this leads to an infinite loop.
How can I avoid this?
Thanks.