EntityCoreTFieldsOnValidateFieldValue Method |
Method which will validate, using custom code supplied this class, the field with index fieldIndex if it should accept
the specified value. This method is only called when standard checks already succeeded, so value isn't null, and value does match the
destination column definition of the EntityField related to fieldIndex.
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.6.0.0 (5.6.19.0117)
Syntax protected virtual bool OnValidateFieldValue(
int fieldIndex,
Object value
)
Protected Overridable Function OnValidateFieldValue (
fieldIndex As Integer,
value As Object
) As Boolean
Parameters
- fieldIndex
- Type: SystemInt32
Index of field to validate - value
- Type: SystemObject
value to validate
Return Value
Type:
BooleanTrue if the validation succeeded, false otherwise.
See Also