다음을 통해 공유


RelationalOptionsExtension.RelationalExtensionInfo.ShouldUseSameServiceProvider 메서드

정의

GetServiceProviderHashCode() 사용된 모든 옵션이 지정된 확장의 옵션과 같은지 여부를 나타내는 값을 반환합니다.

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

매개 변수

other
DbContextOptionsExtensionInfo

다른 확장입니다.

반환

새 서비스 공급자가 필요한 모든 옵션이 동일한지 여부를 나타내는 값입니다.

적용 대상