語言

WarningsConfiguration.ShouldUseSameServiceProvider 方法

定義

回傳一個值,表示所有 GetServiceProviderHashCode() 使用的期權是否與該擴展相同。

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

參數

other
WarningsConfiguration

另一個配置物件。

傳回

一個表示所有需要更換服務提供者的選項是否相同的數值。

適用於