new JSDataDataSource(resource, options)
Data source from a JSData resource
Parameters:
| Name | Type | Description |
|---|---|---|
resource |
JSDataResource | The JSData resource representing the entity set. |
options |
Object | The query options. You can use it add JSData life cycle hooks. |