Click or drag to resize

EntityExtensionBaseValidateNewValue Method

Before set a new value, this value can be modified, after that the value is checked by standard rules (nullable...)

Namespace:  EBP.Api.Entity
Assembly:  EBP.Api (in EBP.Api.dll) Version: 1.0.2835.45 (1.0.2835.45)
Syntax
protected virtual bool ValidateNewValue(
	IEntityMemberBase entityMember,
	ref Object value,
	IErrors errors
)

Parameters

entityMember
Type: EBP.Api.Interfaces.EntityIEntityMemberBase
The entity member.
value
Type: SystemObject
New value
errors
Type: EBP.Api.Interfaces.MiscIErrors
List of errors

Return Value

Type: Boolean
True if the new value is accepted
Remarks
This method can change the value if necessary
See Also