Compartilhar via


RelationalConnection Construtores

Definição

Sobrecargas

RelationalConnection(RelationalConnectionDependencies)

Inicializa uma nova instância da classe RelationalConnection.

RelationalConnection(IDbContextOptions, ILogger)

Inicializa uma nova instância da classe IRelationalConnection.

RelationalConnection(RelationalConnectionDependencies)

Inicializa uma nova instância da 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)

Parâmetros

dependencies
RelationalConnectionDependencies

Objeto parameter que contém dependências para esse serviço.

Aplica-se a

RelationalConnection(IDbContextOptions, ILogger)

Inicializa uma nova instância da 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)

Parâmetros

options
IDbContextOptions

As opções para o contexto com o qual essa conexão será usada.

logger
ILogger

O agente para o qual gravar.

Aplica-se a