ODataStore

A Store providing access to a separate OData web service entity.

Included in: dx.phonejs.js, dx.webappjs.js, dx.chartjs.js, dx.all.js
Type:

Object

To access the entire OData service, use the ODataContext object.

If you need to create a separate ODataStore instance, call the ODataStore constructor and specify the URL of the required entity via the url configuration option.

JavaScript
var store = new DevExpress.data.ODataStore({
    url: "/url/to/service",
    key: "CategoryID",
    keyType: "Int32"
});

Note that the key and keyType configuration options provide read-write access to the entity.

For more information on working with OData web services, refer to the Data Source Examples article.

Configuration

This section describes the configuration options used to configure the ODataStore.

Methods

This section describes the methods used to access the data associated with the ODataStore.

Events

This section describes events raised by this ODataStore instance.

To handle events, use one of the following methods.