EFCoreObjectSpaceProvider(Type, ServiceCollection, ITypesInfo, String, EFCoreDatabaseProviderHandler) Constructor
Initializes a new instance of the EFCoreObjectSpaceProvider class with specified settings.
Namespace: DevExpress.ExpressApp.EFCore
Assembly: DevExpress.ExpressApp.EFCore.v21.2.dll
NuGet Package: DevExpress.ExpressApp.EFCore
Declaration
Parameters
Name | Type | Description |
---|---|---|
contextType | Type | A type of a DbContext descendant your application uses. |
services | ServiceCollection | A collection of services registered in your application (see Dependency injection). |
typesInfo | ITypesInfo | An ITypesInfo object that provides access to XAF-related information on business classes. |
connectionString | String | An application’s connection string. |
databaseProviderHandler | DevExpress.ExpressApp.EFCore.EFCoreDatabaseProviderHandler | A delegate with DbContextOptionsBuilder and string parameters where you can specify the database provider your application uses. |
See Also