Skip to main content
.NET 6.0+

XPObjectSpaceProvider Members

Provides Object Space in XPO-based XAF applications.

Constructors

Name Description
XPObjectSpaceProvider(IXpoDataStoreProvider, ITypesInfo, XpoTypeInfoSource, Boolean, Boolean) Initializes a new instance of the XPObjectSpaceProvider class.
XPObjectSpaceProvider(IXpoDataStoreProvider, ITypesInfo, XpoTypeInfoSource) Initializes a new instance of the XPObjectSpaceProvider class.
XPObjectSpaceProvider(IXpoDataStoreProvider, Boolean, Boolean) Initializes a new instance of the XPObjectSpaceProvider class.
XPObjectSpaceProvider(IXpoDataStoreProvider) Initializes a new instance of the XPObjectSpaceProvider class.
XPObjectSpaceProvider(IDbConnection) Initializes a new instance of the XPObjectSpaceProvider class.
XPObjectSpaceProvider(IServiceProvider, IXpoDataStoreProvider, ITypesInfo, XpoTypeInfoSource, Boolean, Boolean) Initializes a new instance of the XPObjectSpaceProvider class with specified settings.
XPObjectSpaceProvider(IServiceProvider, IXpoDataStoreProvider, ITypesInfo, XpoTypeInfoSource) Initializes a new instance of the XPObjectSpaceProvider class with specified settings.
XPObjectSpaceProvider(IServiceProvider, IXpoDataStoreProvider, Boolean, Boolean) Initializes a new instance of the XPObjectSpaceProvider class with specified settings.
XPObjectSpaceProvider(IServiceProvider, IXpoDataStoreProvider) Initializes a new instance of the XPObjectSpaceProvider class with specified settings.
XPObjectSpaceProvider(IServiceProvider, IDbConnection) Initializes a new instance of the XPObjectSpaceProvider class with specified settings.
XPObjectSpaceProvider(IServiceProvider, String, IDbConnection, Boolean, Boolean) Initializes a new instance of the XPObjectSpaceProvider class with specified settings.
XPObjectSpaceProvider(IServiceProvider, String, IDbConnection) Initializes a new instance of the XPObjectSpaceProvider class with specified settings.
XPObjectSpaceProvider(IServiceProvider, String) Initializes a new instance of the XPObjectSpaceProvider class with specified settings.
XPObjectSpaceProvider(String, IDbConnection, Boolean, Boolean) Initializes a new instance of the XPObjectSpaceProvider class.
XPObjectSpaceProvider(String, IDbConnection) Initializes a new instance of the XPObjectSpaceProvider class.
XPObjectSpaceProvider(String) Initializes a new instance of the XPObjectSpaceProvider class.

Properties

Name Description
CheckCompatibilityType Specifies how the database and application compatibility is checked.
ConnectionString Specifies the connection string used by the Object Space Provider’s data layer.
DataLayer
HostParametersMaxNumber
InstantFeedbackMappingMode Specifies what properties should be mapped on a grid in the InstantFeedback or InstantFeedbackView mode for all Object Spaces.
IsDisposed Indicates whether an Object Space Provider has been disposed of.
ModuleInfoType Gets the type of the class whose objects are persisted to the ModuleInfo table in the database.
SchemaUpdateMode Specifies how to handle compatibility checking for the database associated with the current XPObjectSpaceProvider.
ServiceProvider Gets the IServiceProvider used to access the application’s services. This IServiceProvider is assigned to the ServiceProvider property of an Object Space initialized by the XPObjectSpaceProvider.
ThreadSafe
TypesInfo Supplies metadata on types used in an XAF application.
XPDictionary Returns a base class for metadata providers.
XpoTypeInfoSource Returns a source of XPO-related information on business classes.

Methods

Name Description
CreateObjectSpace() Instantiates an Object Space.
CreateUpdatingObjectSpace(Boolean) Instantiates an Object Space to be used to update the database.
Dispose() Releases all resources used by an XPObjectSpaceProvider object.
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.
GetDataStoreProvider(String, IDbConnection, Boolean) static Returns the data store provider.
GetDataStoreProvider(String, IDbConnection) static Returns the data store provider.
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.
SetDataStoreProvider(IXpoDataStoreProvider)
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
CustomizeTableName For internal use.
See Also