 | 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)
Syntaxprotected virtual bool ValidateNewValue(
IEntityMemberBase entityMember,
ref Object value,
IErrors errors
)
Protected Overridable Function ValidateNewValue (
entityMember As IEntityMemberBase,
ByRef value As Object,
errors As IErrors
) As Boolean
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