IEntityCoreSetEntityFieldError Method |
Sets the error message for the field specified. If there's already a message stored for this field, it's overwritten unless append is
set to true, which appends the message to the existing error using a semi-colon as separator. The message stored
is returned by IDataErrorInfo[fieldName];
Namespace:
SD.LLBLGen.Pro.ORMSupportClasses
Assembly:
SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.4.0.0 (5.4.0)
Syntax void SetEntityFieldError(
string fieldName,
string errorMessage,
bool append
)
Sub SetEntityFieldError (
fieldName As String,
errorMessage As String,
append As Boolean
)
Parameters
- fieldName
- Type: SystemString
name of the field - errorMessage
- Type: SystemString
message to store - append
- Type: SystemBoolean
If true, the value is appended to an already existing error message. As separator a semi-colon is used.
See Also