expressappframework-devexpress-dot-expressapp-dot-xafapplication-59fe839e.md
Provides access to the application’s Object Space Provider.
Namespace : DevExpress.ExpressApp
Assembly : DevExpress.ExpressApp.v25.2.dll
NuGet Package : DevExpress.ExpressApp
[Browsable(false)]
public IObjectSpaceProvider ObjectSpaceProvider { get; }
<Browsable(False)>
Public ReadOnly Property ObjectSpaceProvider As IObjectSpaceProvider
| Type | Description |
|---|---|
| IObjectSpaceProvider |
An instance of the class that implements the IObjectSpaceProvider interface.
|
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:
XafApplication.ObjectSpaceProvider and XafApplication.ConnectionString property values.ObjectSpaceProvider argument.Ensure that NonPersistentObjectSpaceProvider is not the first registered Provider in your application.
See Also