WarningsConfiguration.ShouldUseSameServiceProvider 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳一個值,表示所有 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
另一個配置物件。
傳回
一個表示所有需要更換服務提供者的選項是否相同的數值。