AbstractModelBase..::..OnValidateObject Method
Override this method to add imperative validation at the object level.
Namespace:
Tortuga.Anchor.Modeling.InternalsAssembly: Tortuga.Anchor (in Tortuga.Anchor.dll)
Syntax
protected virtual void OnValidateObject( ValidationResultCollection results )
Protected Overridable Sub OnValidateObject ( _ results As ValidationResultCollection _ )
Parameters
- results
- Type: Tortuga.Anchor.DataAnnotations..::..ValidationResultCollection
A collection of the declarative validation errors. You may add and remove errors from this collection.