Skip to main content
All docs
V24.1
.NET 6.0+
  • The page you are viewing does not exist in the .NET Framework 4.5.2+ platform documentation. This link will take you to the parent topic of the current section.

XPObjectSpaceProviderOptions Members

Options that you can use to configure the XPObjectSpaceProvider.

Constructors

Name Description
XPObjectSpaceProviderOptions() Initializes a new instance of the XPObjectSpaceProviderOptions class.

Properties

Name Description
ConfigureObjectSpaceProvider Allows you to customize the XPObjectSpaceProvider.
ConnectionString Specifies the connection string used by the Object Space Provider’s data store.
CustomCreateObjectSpaceProvider
EnablePoolingInConnectionString Specifies whether XPO Data Store Pooling is enabled.
SchemaUpdateMode Specifies how to handle compatibility checks for the database associated with the current XPObjectSpaceProvider.
ThreadSafe Specifies whether to use the ThreadSafeDataLayer Data Access Layer.
UseSeparateDataLayers Specifies whether to use a separate SimpleDataLayer Data Access Layer for each Object Space.
UseSharedDataStoreProvider Specifies whether to use a shared instance of IXpoDataStoreProvider. If false, XAF creates a new data store provider each time an object space provider is instantiated.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
ExcludePersistentTypes(Type[])
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
UseCustomDataStoreProvider(IXpoDataStoreProvider) Allows you to use a custom IXpoDataStoreProvider.
UseCustomPersistentTypes(Type[])
See Also