Skip to main content

XafApplication.ObjectSpaceProvider Property

Provides access to the application’s Object Space Provider.

Namespace: DevExpress.ExpressApp

Assembly: DevExpress.ExpressApp.v25.2.dll

NuGet Package: DevExpress.ExpressApp

Declaration

[Browsable(false)]
public IObjectSpaceProvider ObjectSpaceProvider { get; }

Property Value

Type Description
IObjectSpaceProvider

An instance of the class that implements the IObjectSpaceProvider interface.

Remarks

XAF uses an Object Space Provider to create Object Spaces. XAF applications configure Object Space Providers through the Application Builder’s ObjectSpaceProviders property. When you use the Template Kit to create an application, it adds the Object Space Providers to your application based on the specified presets.

Note

XAF uses the first registered Object Space Provider for the following purposes:

Ensure that NonPersistentObjectSpaceProvider is not the first registered Provider in your application.

See Also