Condividi tramite


RelationalConnection Costruttori

Definizione

Overload

RelationalConnection(RelationalConnectionDependencies)

Inizializza una nuova istanza della classe RelationalConnection.

RelationalConnection(IDbContextOptions, ILogger)

Inizializza una nuova istanza della classe IRelationalConnection.

RelationalConnection(RelationalConnectionDependencies)

Origine:
RelationalConnection.cs
Origine:
RelationalConnection.cs
Origine:
RelationalConnection.cs
Origine:
RelationalConnection.cs
Origine:
RelationalConnection.cs
Origine:
RelationalConnection.cs
Origine:
RelationalConnection.cs
Origine:
RelationalConnection.cs
Origine:
RelationalConnection.cs

Inizializza una nuova istanza della classe RelationalConnection.

protected RelationalConnection (Microsoft.EntityFrameworkCore.Storage.RelationalConnectionDependencies dependencies);
new Microsoft.EntityFrameworkCore.Storage.RelationalConnection : Microsoft.EntityFrameworkCore.Storage.RelationalConnectionDependencies -> Microsoft.EntityFrameworkCore.Storage.RelationalConnection
Protected Sub New (dependencies As RelationalConnectionDependencies)

Parametri

dependencies
RelationalConnectionDependencies

Oggetto parametro contenente le dipendenze per questo servizio.

Si applica a

RelationalConnection(IDbContextOptions, ILogger)

Inizializza una nuova istanza della classe IRelationalConnection.

protected RelationalConnection (Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions options, Microsoft.Extensions.Logging.ILogger logger);
new Microsoft.EntityFrameworkCore.Storage.RelationalConnection : Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions * Microsoft.Extensions.Logging.ILogger -> Microsoft.EntityFrameworkCore.Storage.RelationalConnection
Protected Sub New (options As IDbContextOptions, logger As ILogger)

Parametri

options
IDbContextOptions

Opzioni per il contesto con cui verrà utilizzata la connessione.

logger
ILogger

Logger in cui scrivere.

Si applica a