Share via


WarningsConfiguration.ShouldUseSameServiceProvider Method

Definition

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

public virtual bool ShouldUseSameServiceProvider (Microsoft.EntityFrameworkCore.Diagnostics.WarningsConfiguration other);
abstract member ShouldUseSameServiceProvider : Microsoft.EntityFrameworkCore.Diagnostics.WarningsConfiguration -> bool
override this.ShouldUseSameServiceProvider : Microsoft.EntityFrameworkCore.Diagnostics.WarningsConfiguration -> bool
Public Overridable Function ShouldUseSameServiceProvider (other As WarningsConfiguration) As Boolean

Parameters

other
WarningsConfiguration

The other configuration object.

Returns

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

Applies to