Click or drag to resize

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.7.0.0 (5.7.0)
Syntax
protected virtual bool OnValidateFieldValue(
	int fieldIndex,
	Object value
)

Parameters

fieldIndex
Type: SystemInt32
Index of field to validate
value
Type: SystemObject
value to validate

Return Value

Type: Boolean
True if the validation succeeded, false otherwise.
See Also