Condividi tramite


RelationalDatabase Costruttori

Definizione

Overload

RelationalDatabase(DatabaseDependencies, RelationalDatabaseDependencies)

Inizializza una nuova istanza della classe RelationalDatabase.

RelationalDatabase(IQueryCompilationContextFactory, ICommandBatchPreparer, IBatchExecutor, IRelationalConnection)

Inizializza una nuova istanza della classe RelationalDatabase.

RelationalDatabase(DatabaseDependencies, RelationalDatabaseDependencies)

Inizializza una nuova istanza della 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)

Parametri

dependencies
DatabaseDependencies

Oggetto parametro contenente le dipendenze per la base di questo servizio.

relationalDependencies
RelationalDatabaseDependencies

Oggetto parametro contenente le dipendenze relazionali per questo servizio.

Si applica a

RelationalDatabase(IQueryCompilationContextFactory, ICommandBatchPreparer, IBatchExecutor, IRelationalConnection)

Inizializza una nuova istanza della 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)

Parametri

queryCompilationContextFactory
IQueryCompilationContextFactory

Struttura IQueryCompilationContextFactory da utilizzare.

batchPreparer
ICommandBatchPreparer

Struttura ICommandBatchPreparer da utilizzare.

batchExecutor
IBatchExecutor

Struttura IBatchExecutor da utilizzare.

connection
IRelationalConnection

Struttura IRelationalConnection da utilizzare.

Si applica a