语言

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>

要填充的字典。

注解

有关详细信息和示例,请参阅 数据库提供程序和扩展的实现 。

适用于