DbContextOptionsExtensionInfo.PopulateDebugInfo 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
會儲存一個字典,內容可能在不同擴充使用間會變動,以便與先前的配置比較,並記錄差異。 字典鍵應以副檔名作為前綴。 例如: "SqlServer:" 。
public abstract void PopulateDebugInfo(System.Collections.Generic.IDictionary<string,string> debugInfo);
abstract member PopulateDebugInfo : System.Collections.Generic.IDictionary<string, string> -> unit
Public MustOverride Sub PopulateDebugInfo (debugInfo As IDictionary(Of String, String))
參數
- debugInfo
- IDictionary<String,String>
字典用來填充。
備註
更多資訊與範例請參見 資料庫提供者與擴充功能的實作 。