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
 Semata
                Semata