Skip to main content
.NET 6.0+

NonPersistentObjectSpaceProvider Members

Provides Object Space that manipulates non-persistent object instances.

Constructors

Name Description
NonPersistentObjectSpaceProvider(ITypesInfo, NonPersistentTypeInfoSource) Initializes a new instance of the NonPersistentObjectSpaceProvider class with specified settings.
NonPersistentObjectSpaceProvider(IServiceProvider, ITypesInfo, NonPersistentTypeInfoSource) Initializes a new instance of the NonPersistentObjectSpaceProvider class with specified settings.
NonPersistentObjectSpaceProvider(IServiceProvider) Initializes a new instance of the NonPersistentObjectSpaceProvider class with specified settings.

Properties

Name Description
CheckCompatibilityType This property is added to support the IObjectSpaceProvider interface and returns null (Nothing in VB).
ConnectionString This property is added to support the IObjectSpaceProvider interface and returns an empty string.
EntityStore Provides access to the storage of registered entities.
ModuleInfoType Gets the type of the class that is mapped to the ModuleInfo table in the database.
SchemaUpdateMode This property is added to support the IObjectSpaceProvider interface and returns None.
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 NonPersistentObjectSpaceProvider.
TypesInfo Supplies XAF-related information on types used in the application.

Methods

Name Description
CreateObjectSpace() Instantiates a NonPersistentObjectSpace instance.
CreateUpdatingObjectSpace(Boolean) This method is added to support the IObjectSpaceProvider interface and raises NotImplementedException.
Dispose() Releases all resources that the current NonPersistentObjectSpaceProvider object uses.
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.
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.
UpdateSchema() This method is added to support the IObjectSpaceProvider interface and raises NotImplementedException.
See Also