Share via


RelationalOptionsExtension.RelationalExtensionInfo.ShouldUseSameServiceProvider Methode

Definition

Gibt einen Wert zurück, der angibt, ob alle in GetServiceProviderHashCode() verwendeten Optionen mit denen in der angegebenen Erweiterung identisch sind.

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

Parameter

other
DbContextOptionsExtensionInfo

Die andere Erweiterung.

Gibt zurück

Ein -Wert, der angibt, ob alle Optionen, die einen neuen Dienstanbieter erfordern, identisch sind.

Gilt für: