Aracılığıyla paylaş


DbContextOptionsExtensionInfo.ShouldUseSameServiceProvider Yöntem

Tanım

içinde GetServiceProviderHashCode() kullanılan tüm seçeneklerin verilen uzantıdakiyle aynı olup olmadığını belirten bir değer döndürür.

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

Parametreler

other
DbContextOptionsExtensionInfo

Diğer uzantı.

Döndürülenler

Yeni bir hizmet sağlayıcısı gerektiren tüm seçeneklerin aynı olup olmadığını gösteren değer.

Açıklamalar

Daha fazla bilgi ve örnek için bkz. Veritabanı sağlayıcılarının ve uzantıların uygulanması .

Şunlara uygulanır