RelationalDatabase 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
RelationalDatabase(DatabaseDependencies, RelationalDatabaseDependencies) |
Initializes a new instance of the RelationalDatabase class. |
RelationalDatabase(IQueryCompilationContextFactory, ICommandBatchPreparer, IBatchExecutor, IRelationalConnection) |
Initializes a new instance of the RelationalDatabase class. |
RelationalDatabase(DatabaseDependencies, RelationalDatabaseDependencies)
- Source:
- RelationalDatabase.cs
- Source:
- RelationalDatabase.cs
- Source:
- RelationalDatabase.cs
- Source:
- RelationalDatabase.cs
- Source:
- RelationalDatabase.cs
- Source:
- RelationalDatabase.cs
- Source:
- RelationalDatabase.cs
- Source:
- RelationalDatabase.cs
- Source:
- RelationalDatabase.cs
Initializes a new instance of the RelationalDatabase class.
public RelationalDatabase (Microsoft.EntityFrameworkCore.Storage.DatabaseDependencies dependencies, Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseDependencies relationalDependencies);
new Microsoft.EntityFrameworkCore.Storage.RelationalDatabase : Microsoft.EntityFrameworkCore.Storage.DatabaseDependencies * Microsoft.EntityFrameworkCore.Storage.RelationalDatabaseDependencies -> Microsoft.EntityFrameworkCore.Storage.RelationalDatabase
Public Sub New (dependencies As DatabaseDependencies, relationalDependencies As RelationalDatabaseDependencies)
Parameters
- dependencies
- DatabaseDependencies
Parameter object containing dependencies for the base of this service.
- relationalDependencies
- RelationalDatabaseDependencies
Parameter object containing relational dependencies for this service.
Applies to
RelationalDatabase(IQueryCompilationContextFactory, ICommandBatchPreparer, IBatchExecutor, IRelationalConnection)
Initializes a new instance of the RelationalDatabase class.
public RelationalDatabase (Microsoft.EntityFrameworkCore.Query.IQueryCompilationContextFactory queryCompilationContextFactory, Microsoft.EntityFrameworkCore.Update.ICommandBatchPreparer batchPreparer, Microsoft.EntityFrameworkCore.Update.IBatchExecutor batchExecutor, Microsoft.EntityFrameworkCore.Storage.IRelationalConnection connection);
new Microsoft.EntityFrameworkCore.Storage.RelationalDatabase : Microsoft.EntityFrameworkCore.Query.IQueryCompilationContextFactory * Microsoft.EntityFrameworkCore.Update.ICommandBatchPreparer * Microsoft.EntityFrameworkCore.Update.IBatchExecutor * Microsoft.EntityFrameworkCore.Storage.IRelationalConnection -> Microsoft.EntityFrameworkCore.Storage.RelationalDatabase
Public Sub New (queryCompilationContextFactory As IQueryCompilationContextFactory, batchPreparer As ICommandBatchPreparer, batchExecutor As IBatchExecutor, connection As IRelationalConnection)
Parameters
- queryCompilationContextFactory
- IQueryCompilationContextFactory
The IQueryCompilationContextFactory to be used.
- batchPreparer
- ICommandBatchPreparer
The ICommandBatchPreparer to be used.
- batchExecutor
- IBatchExecutor
The IBatchExecutor to be used.
- connection
- IRelationalConnection
The IRelationalConnection to be used.
Applies to
Entity Framework