Partager via


RelationalDatabase Constructeurs

Définition

Surcharges

RelationalDatabase(DatabaseDependencies, RelationalDatabaseDependencies)

Initialise une nouvelle instance de la classe RelationalDatabase.

RelationalDatabase(IQueryCompilationContextFactory, ICommandBatchPreparer, IBatchExecutor, IRelationalConnection)

Initialise une nouvelle instance de la classe RelationalDatabase.

RelationalDatabase(DatabaseDependencies, RelationalDatabaseDependencies)

Initialise une nouvelle instance de la classe RelationalDatabase.

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)

Paramètres

dependencies
DatabaseDependencies

Objet de paramètre contenant des dépendances pour la base de ce service.

relationalDependencies
RelationalDatabaseDependencies

Objet Parameter contenant des dépendances relationnelles pour ce service.

S’applique à

RelationalDatabase(IQueryCompilationContextFactory, ICommandBatchPreparer, IBatchExecutor, IRelationalConnection)

Initialise une nouvelle instance de la classe RelationalDatabase.

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)

Paramètres

queryCompilationContextFactory
IQueryCompilationContextFactory

IQueryCompilationContextFactory à utiliser.

batchPreparer
ICommandBatchPreparer

ICommandBatchPreparer à utiliser.

batchExecutor
IBatchExecutor

IBatchExecutor à utiliser.

S’applique à