DevExtreme React - ODataContext API
This object creates several ODataStore instances. Each instance accesses an individual entity collection.
See Also
Props
Name | Description |
---|---|
beforeSend |
Specifies a function that customizes the request before it is sent to the server. |
deserializeDates |
Specifies whether stores in the ODataContext serialize/parse date-time values. |
entities |
Specifies entity collections to be accessed. |
errorHandler |
Specifies a function that is executed when the ODataContext throws an error. |
jsonp |
Specifies whether data should be sent using JSONP. |
url |
Specifies the URL of an OData service. |
version |
Specifies the OData version. |
withCredentials |
Specifies whether to send cookies, authorization headers, and client certificates in a cross-origin request. |
Methods
Name | Description |
---|---|
get(operationName, params) |
Invokes an OData operation that returns a value. |
invoke(operationName, params, httpMethod) |
Invokes an OData operation that returns nothing. |
objectLink(entityAlias, key) |
Gets a link to an entity with a specific key. |
If you have technical questions, please create a support ticket in the DevExpress Support Center.