ValidatorBase Class |
Namespace: SD.LLBLGen.Pro.ORMSupportClasses
The ValidatorBase type exposes the following members.
Name | Description | |
---|---|---|
ValidatorBase | Initializes a new instance of the ValidatorBase class |
Name | Description | |
---|---|---|
AssignedToEntity |
Called when the implementing object is assinged to entity.Validator.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
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.
|