Condividi tramite


RelationalConnectionDependencies.With Metodo

Definizione

Overload

With(IDiagnosticsLogger<DbLoggerCategory.Database.Connection>)

Clona questo oggetto parametro di dipendenza con un solo servizio sostituito.

With(IDiagnosticsLogger<DbLoggerCategory.Database.Transaction>)

Clona questo oggetto parametro di dipendenza con un solo servizio sostituito.

With(ICurrentDbContext)

Clona questo oggetto parametro di dipendenza con un solo servizio sostituito.

With(IDbContextOptions)

Clona questo oggetto parametro di dipendenza con un solo servizio sostituito.

With(INamedConnectionStringResolver)

Clona questo oggetto parametro di dipendenza con un solo servizio sostituito.

With(IRelationalTransactionFactory)

Clona questo oggetto parametro di dipendenza con un solo servizio sostituito.

With(IDiagnosticsLogger<DbLoggerCategory.Database.Connection>)

Origine:
RelationalConnectionDependencies.cs
Origine:
RelationalConnectionDependencies.cs
Origine:
RelationalConnectionDependencies.cs
Origine:
RelationalConnectionDependencies.cs
Origine:
RelationalConnectionDependencies.cs

Clona questo oggetto parametro di dipendenza con un solo servizio sostituito.

public Microsoft.EntityFrameworkCore.Storage.RelationalConnectionDependencies With (Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Connection> connectionLogger);
member this.With : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Connection> -> Microsoft.EntityFrameworkCore.Storage.RelationalConnectionDependencies
Public Function With (connectionLogger As IDiagnosticsLogger(Of DbLoggerCategory.Database.Connection)) As RelationalConnectionDependencies

Parametri

connectionLogger
IDiagnosticsLogger<DbLoggerCategory.Database.Connection>

Sostituzione della dipendenza corrente di questo tipo.

Restituisce

Nuovo oggetto parametro con il servizio specificato sostituito.

Si applica a

With(IDiagnosticsLogger<DbLoggerCategory.Database.Transaction>)

Origine:
RelationalConnectionDependencies.cs
Origine:
RelationalConnectionDependencies.cs
Origine:
RelationalConnectionDependencies.cs
Origine:
RelationalConnectionDependencies.cs
Origine:
RelationalConnectionDependencies.cs

Clona questo oggetto parametro di dipendenza con un solo servizio sostituito.

public Microsoft.EntityFrameworkCore.Storage.RelationalConnectionDependencies With (Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Transaction> transactionLogger);
member this.With : Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger<Microsoft.EntityFrameworkCore.DbLoggerCategory.Database.Transaction> -> Microsoft.EntityFrameworkCore.Storage.RelationalConnectionDependencies
Public Function With (transactionLogger As IDiagnosticsLogger(Of DbLoggerCategory.Database.Transaction)) As RelationalConnectionDependencies

Parametri

transactionLogger
IDiagnosticsLogger<DbLoggerCategory.Database.Transaction>

Sostituzione della dipendenza corrente di questo tipo.

Restituisce

Nuovo oggetto parametro con il servizio specificato sostituito.

Si applica a

With(ICurrentDbContext)

Origine:
RelationalConnectionDependencies.cs
Origine:
RelationalConnectionDependencies.cs
Origine:
RelationalConnectionDependencies.cs

Clona questo oggetto parametro di dipendenza con un solo servizio sostituito.

public Microsoft.EntityFrameworkCore.Storage.RelationalConnectionDependencies With (Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext currentContext);
member this.With : Microsoft.EntityFrameworkCore.Infrastructure.ICurrentDbContext -> Microsoft.EntityFrameworkCore.Storage.RelationalConnectionDependencies
Public Function With (currentContext As ICurrentDbContext) As RelationalConnectionDependencies

Parametri

currentContext
ICurrentDbContext

Sostituzione della dipendenza corrente di questo tipo.

Restituisce

Nuovo oggetto parametro con il servizio specificato sostituito.

Si applica a

With(IDbContextOptions)

Origine:
RelationalConnectionDependencies.cs
Origine:
RelationalConnectionDependencies.cs
Origine:
RelationalConnectionDependencies.cs
Origine:
RelationalConnectionDependencies.cs
Origine:
RelationalConnectionDependencies.cs

Clona questo oggetto parametro di dipendenza con un solo servizio sostituito.

public Microsoft.EntityFrameworkCore.Storage.RelationalConnectionDependencies With (Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions contextOptions);
member this.With : Microsoft.EntityFrameworkCore.Infrastructure.IDbContextOptions -> Microsoft.EntityFrameworkCore.Storage.RelationalConnectionDependencies
Public Function With (contextOptions As IDbContextOptions) As RelationalConnectionDependencies

Parametri

contextOptions
IDbContextOptions

Sostituzione della dipendenza corrente di questo tipo.

Restituisce

Nuovo oggetto parametro con il servizio specificato sostituito.

Si applica a

With(INamedConnectionStringResolver)

Origine:
RelationalConnectionDependencies.cs
Origine:
RelationalConnectionDependencies.cs
Origine:
RelationalConnectionDependencies.cs
Origine:
RelationalConnectionDependencies.cs
Origine:
RelationalConnectionDependencies.cs

Clona questo oggetto parametro di dipendenza con un solo servizio sostituito.

public Microsoft.EntityFrameworkCore.Storage.RelationalConnectionDependencies With (Microsoft.EntityFrameworkCore.Storage.Internal.INamedConnectionStringResolver connectionStringResolver);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public Microsoft.EntityFrameworkCore.Storage.RelationalConnectionDependencies With (Microsoft.EntityFrameworkCore.Storage.Internal.INamedConnectionStringResolver connectionStringResolver);
member this.With : Microsoft.EntityFrameworkCore.Storage.Internal.INamedConnectionStringResolver -> Microsoft.EntityFrameworkCore.Storage.RelationalConnectionDependencies
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
member this.With : Microsoft.EntityFrameworkCore.Storage.Internal.INamedConnectionStringResolver -> Microsoft.EntityFrameworkCore.Storage.RelationalConnectionDependencies
Public Function With (connectionStringResolver As INamedConnectionStringResolver) As RelationalConnectionDependencies

Parametri

connectionStringResolver
Microsoft.EntityFrameworkCore.Storage.Internal.INamedConnectionStringResolver

Sostituzione della dipendenza corrente di questo tipo.

Restituisce

Nuovo oggetto parametro con il servizio specificato sostituito.

Attributi

Si applica a

With(IRelationalTransactionFactory)

Origine:
RelationalConnectionDependencies.cs
Origine:
RelationalConnectionDependencies.cs
Origine:
RelationalConnectionDependencies.cs
Origine:
RelationalConnectionDependencies.cs
Origine:
RelationalConnectionDependencies.cs

Clona questo oggetto parametro di dipendenza con un solo servizio sostituito.

public Microsoft.EntityFrameworkCore.Storage.RelationalConnectionDependencies With (Microsoft.EntityFrameworkCore.Storage.IRelationalTransactionFactory relationalTransactionFactory);
member this.With : Microsoft.EntityFrameworkCore.Storage.IRelationalTransactionFactory -> Microsoft.EntityFrameworkCore.Storage.RelationalConnectionDependencies
Public Function With (relationalTransactionFactory As IRelationalTransactionFactory) As RelationalConnectionDependencies

Parametri

relationalTransactionFactory
IRelationalTransactionFactory

Sostituzione della dipendenza corrente di questo tipo.

Restituisce

Nuovo oggetto parametro con il servizio specificato sostituito.

Si applica a