All docs
V20.2
20.2
20.1
The page you are viewing does not exist in version 20.1. This link will take you to the root page.
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

WebApiDataStoreService Class

A generic IDataStore wrapper. Encapsulates the boilerplate code required to implement a Web API service controller for WebApiDataStoreClient.

Namespace: DevExpress.Xpo.DB

Assembly: DevExpress.Xpo.v20.2.dll

Declaration

public class WebApiDataStoreService :
    ServiceBase
Public Class WebApiDataStoreService
    Inherits ServiceBase

Remarks

WebApiDataStoreService calls IDataStore and IDataStoreAsync methods with error handling. If an underlying connection provider throws an exception, WebApiDataStoreService includes error details in the response. WebApiDataStoreClient uses this information to raise XPO-specific exceptions, such as SchemaCorrectionNeededException and LockingException.

For more information, see the following topic: Transfer Data via REST API.

Inheritance

Object
ServiceBase
WebApiDataStoreService
See Also