Methods
beforeSave(e, callback)
Occurs before creating or updating a data object and validates the unique constraints of data model.
Parameters:
Name | Type | Description |
---|---|---|
e |
DataEventArgs | * | An object that represents the event arguments passed to this operation. |
callback |
function | A callback function that should be called at the end of this operation. The first argument may be an error if any occured. |
- Source: