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
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for