語言

DbContextOptionsExtensionInfo.PopulateDebugInfo 方法

定義

會儲存一個字典,內容可能在不同擴充使用間會變動,以便與先前的配置比較,並記錄差異。 字典鍵應以副檔名作為前綴。 例如: "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>

字典用來填充。

備註

更多資訊與範例請參見 資料庫提供者與擴充功能的實作 。

適用於