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.ClassicAssembly: NHibernate (in NHibernate.dll)
Syntax
Visual Basic (Declaration) |
---|
Sub Validate |
C# |
---|
void Validate() |
Visual C++ |
---|
void Validate() |
JavaScript |
---|
function validate(); |