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
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:
- To get
XafApplication.ObjectSpaceProviderand XafApplication.ConnectionString property values. - To pass this Provider as the CustomCheckCompatibilityEventArgs
ObjectSpaceProviderargument. - To update an application.
Ensure that NonPersistentObjectSpaceProvider is not the first registered Provider in your application.