WebApiOptions.UseResourceDelta Property
Specifies the type Web API uses to track EF Core and non-persistent object changes.
Namespace: DevExpress.ExpressApp.WebApi.Services
Assembly: DevExpress.ExpressApp.WebApi.v26.1.dll
Declaration
Property Value
| Type | Description |
|---|---|
| Boolean |
|
Remarks
XAF Web API Service uses the DevExpress.ExpressApp.WebApi.EFCore.ResourceDelta<T> class to track changes in EF Core and non-persistent objects. Disable the UseResourceDelta property to use the standard Delta<T> class instead. In this case, some complex update scenarios, such as Deep Update, may cause runtime exceptions.
builder.AddXafWebApi(webApiBuilder => {
webApiBuilder.ConfigureOptions(options => {
options.UseResourceDelta = false;
// ... Other options
});
});
See Also