Share via


Database Constructors

Definition

Overloads

Database(IQueryCompilationContextFactory)

Initializes a new instance of the Database class.

Database(DatabaseDependencies)

Initializes a new instance of the Database class.

Database(IQueryCompilationContextFactory)

Initializes a new instance of the Database class.

protected Database (Microsoft.EntityFrameworkCore.Query.IQueryCompilationContextFactory queryCompilationContextFactory);
new Microsoft.EntityFrameworkCore.Storage.Database : Microsoft.EntityFrameworkCore.Query.IQueryCompilationContextFactory -> Microsoft.EntityFrameworkCore.Storage.Database
Protected Sub New (queryCompilationContextFactory As IQueryCompilationContextFactory)

Parameters

queryCompilationContextFactory
IQueryCompilationContextFactory

Factory for compilation contexts to process LINQ queries.

Applies to

Database(DatabaseDependencies)

Initializes a new instance of the Database class.

protected Database (Microsoft.EntityFrameworkCore.Storage.DatabaseDependencies dependencies);
new Microsoft.EntityFrameworkCore.Storage.Database : Microsoft.EntityFrameworkCore.Storage.DatabaseDependencies -> Microsoft.EntityFrameworkCore.Storage.Database
Protected Sub New (dependencies As DatabaseDependencies)

Parameters

dependencies
DatabaseDependencies

Parameter object containing dependencies for this service.

Applies to