DbContextOptionsExtensionInfo.ShouldUseSameServiceProvider Metoda

Definicja

Zwraca wartość wskazującą, czy wszystkie opcje używane w programie GetServiceProviderHashCode() są takie same jak w danym rozszerzeniu.

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

Parametry

other
DbContextOptionsExtensionInfo

Drugie rozszerzenie.

Zwraca

Boolean

Wartość wskazująca, czy wszystkie opcje wymagające nowego dostawcy usług są takie same.

Uwagi

Aby uzyskać więcej informacji, zobacz Implementacja dostawców i rozszerzeń bazy danych .

Dotyczy