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

Included in: dx.mobile.js, dx.web.js, dx.viz.js, dx.viz-web.js, dx.all.js
Export: default
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.

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.

See Also

When configuring a widget using ASP.NET MVC Wrappers, declare the ODataStore using the syntax shown in the following example. This example configures the DataGrid widget.

    .DataSource(ds => ds.OData()
See Also


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


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


This section describes events raised by this ODataStore instance.

To handle events, use one of the following methods.