Methods
beforeSave(e, callback)
Occurs before creating or updating a data object and validates not nullable fields.
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: