Click or drag to resize
EntityCore<TFields>.OnValidateFieldValue Method
Method which will validate, using custom code supplied this class, the field with index fieldIndex if it should accept the specified value. This routine 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.3.0.0 (5.3.0)
Syntax
protected virtual bool OnValidateFieldValue(
	int fieldIndex,
	Object value
)

Parameters

fieldIndex
Type: System.Int32
Index of field to validate
value
Type: System.Object
value to validate

Return Value

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