RelationalRuntimeModelConvention.ProcessKeyAnnotations 方法

定义

重载

ProcessKeyAnnotations(IDictionary<String,Object>, IKey, RuntimeKey, Boolean)

汇报将在只读对象上设置的键批注。

ProcessKeyAnnotations(Dictionary<String,Object>, IKey, RuntimeKey, Boolean)

汇报将在只读对象上设置的键批注。

ProcessKeyAnnotations(IDictionary<String,Object>, IKey, RuntimeKey, Boolean)

Source:
RelationalRuntimeModelConvention.cs

汇报将在只读对象上设置的键批注。

protected override void ProcessKeyAnnotations (System.Collections.Generic.IDictionary<string,object?> annotations, Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Metadata.RuntimeKey runtimeKey, bool runtime);
override this.ProcessKeyAnnotations : System.Collections.Generic.IDictionary<string, obj> * Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Metadata.RuntimeKey * bool -> unit
Protected Overrides Sub ProcessKeyAnnotations (annotations As IDictionary(Of String, Object), key As IKey, runtimeKey As RuntimeKey, runtime As Boolean)

参数

annotations
IDictionary<String,Object>

要处理的批注。

key
IKey

源键。

runtimeKey
RuntimeKey

将包含批注的目标键。

runtime
Boolean

指示给定批注是否为运行时批注。

适用于

ProcessKeyAnnotations(Dictionary<String,Object>, IKey, RuntimeKey, Boolean)

Source:
RelationalRuntimeModelConvention.cs
Source:
RelationalRuntimeModelConvention.cs
Source:
RelationalRuntimeModelConvention.cs

汇报将在只读对象上设置的键批注。

protected override void ProcessKeyAnnotations (System.Collections.Generic.Dictionary<string,object?> annotations, Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Metadata.RuntimeKey runtimeKey, bool runtime);
override this.ProcessKeyAnnotations : System.Collections.Generic.Dictionary<string, obj> * Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Metadata.RuntimeKey * bool -> unit
Protected Overrides Sub ProcessKeyAnnotations (annotations As Dictionary(Of String, Object), key As IKey, runtimeKey As RuntimeKey, runtime As Boolean)

参数

annotations
Dictionary<String,Object>

要处理的批注。

key
IKey

源键。

runtimeKey
RuntimeKey

将包含批注的目标键。

runtime
Boolean

指示给定批注是否为运行时批注。

适用于