nhibernate « Validation « JPA Q&A





1. NHibernate Validator One Value OR Another    stackoverflow.com

Is it possible with NHibernate validators to get a validator that will validate one or other properties? In the example below either FirstName OR Surname is required.

    [OneOrOther("Group")]
 ...