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.v24.1.dll
NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap, DevExpress.Xpo
NuGet Package: DevExpress.Xpo
Declaration
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.