Throws an exception explaining why the save or update cannot be executed when fields are not ok to pass.

Namespace: Castle.ActiveRecord
Assembly:  Castle.ActiveRecord (in Castle.ActiveRecord.dll)
Version: 1.0.3.0

Syntax

C#
protected virtual void OnNotValid()

Remarks

You can override this method to declare a better behavior.

See Also