Oh, I completely missed the
ValidatorMode.OverrideAttributeWithExternal enum value... it seems to
do the trick. sorry!
Though, now I have another problem,when using the TimePeriod class as
an attribute of another class, it does not run the validation :-(
Eg.
class Product
{
public virtual TimePeriod ValidFor { get; set; }
}
Which is mapped as Component(x => x.ValidFor);
Any idea why it does not validade them "ValidFor" attribute?
TIA!
Best regards,
Rui Lopes
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/nhusers?hl=en.