Share via


RelationalOptionsExtension.RelationalExtensionInfo.ShouldUseSameServiceProvider Method

Definition

Returns a value indicating whether all of the options used in GetServiceProviderHashCode() are the same as in the given extension.

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

Parameters

other
DbContextOptionsExtensionInfo

The other extension.

Returns

A value indicating whether all of the options that require a new service provider are the same.

Applies to