RelationalOptionsExtension.RelationalExtensionInfo.ShouldUseSameServiceProvider Metoda

Definicja

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

public override bool ShouldUseSameServiceProvider (Microsoft.EntityFrameworkCore.Infrastructure.DbContextOptionsExtensionInfo other);
override this.ShouldUseSameServiceProvider : Microsoft.EntityFrameworkCore.Infrastructure.DbContextOptionsExtensionInfo -> bool
Public Overrides Function ShouldUseSameServiceProvider (other As DbContextOptionsExtensionInfo) As Boolean

Parametry

other
DbContextOptionsExtensionInfo

Drugie rozszerzenie.

Zwraca

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

Dotyczy