Skip to main content
A newer version of this page is available.
All docs
V20.2
.NET Standard 2.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.

EFCoreObjectSpaceProvider Members

Provides an Object Space in EF Core-based applications that do not use the Security System.

Constructors

Name Description
EFCoreObjectSpaceProvider(Type, ITypesInfo, EFCoreTypeInfoSource, String, EFCoreDatabaseProviderHandler) Initializes a new instance of the EFCoreObjectSpaceProvider class with specified settings.
EFCoreObjectSpaceProvider(Type, ITypesInfo, String, EFCoreDatabaseProviderHandler) Initializes a new instance of the EFCoreObjectSpaceProvider class with specified settings.
EFCoreObjectSpaceProvider(Type, EFCoreDatabaseProviderHandler) Initializes a new instance of the EFCoreObjectSpaceProvider class with specified settings.
EFCoreObjectSpaceProvider(Type, ServiceCollection, ITypesInfo, String, EFCoreDatabaseProviderHandler) Initializes a new instance of the EFCoreObjectSpaceProvider class with specified settings.
EFCoreObjectSpaceProvider(Type, ServiceCollection, DbContextOptions, ITypesInfo, String) Initializes a new instance of the EFCoreObjectSpaceProvider class with specified settings.
EFCoreObjectSpaceProvider(Type, String, EFCoreDatabaseProviderHandler) Initializes a new instance of the EFCoreObjectSpaceProvider class with specified settings.

Properties

Name Description
CheckCompatibilityType Specifies an approach to check if the database and application are compatible.
ConnectionString Specifies the connection string that the current Object Space Provider uses.
EntityStore Provides access to the storage of registered entities.
ModuleInfoType Gets the type of the class mapped to the ModuleInfo table in the database.
SchemaUpdateMode Specifies how to check compatibility for the database associated with the current EFCoreObjectSpaceProvider.
TypesInfo Supplies XAF-related information on business classes.

Methods

Name Description
CheckDatabaseSchemaCompatibility(out Exception) Checks if a database and application are compatible. If the database is missing or a schema needs to be updated, this method returns the corresponding exception.
CreateObjectSpace() Creates a EFCoreObjectSpace instance.
CreateUpdatingObjectSpace(Boolean) Instantiates an Object Space to be used to update the database.
Dispose() Releases all resources that the current EFCoreObjectSpaceProvider 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() Accesses class descriptions in assemblies loaded into an application and updates the storage schema accordingly.
See Also