Skip to main content
All docs
V23.2

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.v23.2.dll

NuGet Package: DevExpress.Xpo

Declaration

public class WebApiDataStoreService :
    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 ASP.NET Core Web API / REST API.

Inheritance

Object
ServiceBase
WebApiDataStoreService
See Also