Validate the state of the object before persisting it. If a violation occurs, throw a ValidationFailure. This method must not change the state of the object by side-effect.

Namespace: NHibernate.Classic
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
void Validate()
Visual Basic
Sub Validate
Visual C++
void Validate()

See Also