Namespace: Semata.DataStore.ObjectModel
Class: ItemObject
Adds a validation error for a specified property or for the entire object.
public: void AddError(String^ propertyName, String^ error)
Parameters
Type | Name | Description |
String^ | propertyName | The name of the property to retrieve validation errors for; or null or Empty, to retrieve object level errors. |
String^ | error | The text of the error message. |
Returns: void