IValidator Interface |
Namespace: SD.LLBLGen.Pro.ORMSupportClasses
The IValidator type exposes the following members.
Name | Description | |
---|---|---|
AssignedToEntity |
Called when the implementing object is assinged to entity.Validator.
| |
UnassignedFromEntity |
Called when the implementing object is dereferenced from an assigned entity.
| |
ValidateEntity |
General validation method which isn't used by the LLBLGen Pro framework, but can be used by your own code to validate an entity at any given moment.
| |
ValidateEntityAfterLoad |
Method to validate the containing entity after it is loaded. This method is called after the entity has been fully loaded.
| |
ValidateEntityAfterSave |
Method to validate the containing entity right after the entity's save action has been completed and the entity has been refetched (if applicable).
Note for adapter users: if the entity wasn't set to be refetched, take into account that reading properties from the containing entity will result in an
OutOfSync exception.
| |
ValidateEntityBeforeDelete |
Method to validate the containig entity right beforethe entity's delete action will take place.
| |
ValidateEntityBeforeSave |
Method to validate the containing entity right before the save sequence for the entity will start. LLBLGen Pro will call this method right after the
containing entity is selected from the save queue to be saved.
| |
ValidateFieldValue |
Validates the given EntityFieldCore object on the given fieldIndex with the given value.
This routine is called by the Entity's own value validator after the value has passed validation for destination column type and
null values.
|