TObjectManager.Validate Method
Validates the entity against all constraints defined in the mapping model.
Remarks
Raises EEntityValidationException if any validation constraint fails.
Validation is also performed automatically before insert and update operations when ValidationsEnabled is True.
Syntax
Unit: Aurelius.Engine.ObjectManager
procedure TObjectManager.Validate(Entity: TObject);
Parameters
| <-> | Parameter | Type | Description |
|---|---|---|---|
| Entity | TObject | The entity to validate. |