Database Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework