DbContextOptionsExtensionInfo.ShouldUseSameServiceProvider Metodo

Definizione

Restituisce un valore che indica se tutte le opzioni usate in GetServiceProviderHashCode() sono uguali a quella dell'estensione specificata.

public abstract bool ShouldUseSameServiceProvider (Microsoft.EntityFrameworkCore.Infrastructure.DbContextOptionsExtensionInfo other);
abstract member ShouldUseSameServiceProvider : Microsoft.EntityFrameworkCore.Infrastructure.DbContextOptionsExtensionInfo -> bool
Public MustOverride Function ShouldUseSameServiceProvider (other As DbContextOptionsExtensionInfo) As Boolean

Parametri

other
DbContextOptionsExtensionInfo

L'altra estensione.

Restituisce

Valore che indica se tutte le opzioni che richiedono un nuovo provider di servizi sono uguali.

Commenti

Per altre informazioni ed esempi, vedere Implementazione di provider di database e estensioni .

Si applica a