共用方式為


RuntimeModelConvention.ProcessKeyAnnotations 方法

定義

多載

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

更新將在唯讀物件上設定的索引鍵批註。

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

更新將在唯讀物件上設定的索引鍵批註。

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

來源:
RuntimeModelConvention.cs
來源:
RuntimeModelConvention.cs
來源:
RuntimeModelConvention.cs

更新將在唯讀物件上設定的索引鍵批註。

protected virtual void ProcessKeyAnnotations (System.Collections.Generic.Dictionary<string,object?> annotations, Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Metadata.RuntimeKey runtimeKey, bool runtime);
abstract member ProcessKeyAnnotations : System.Collections.Generic.Dictionary<string, obj> * Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Metadata.RuntimeKey * bool -> unit
override this.ProcessKeyAnnotations : System.Collections.Generic.Dictionary<string, obj> * Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Metadata.RuntimeKey * bool -> unit
Protected Overridable 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

指出指定的注釋是否為執行時間批註。

適用於

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

來源:
RuntimeModelConvention.cs

更新將在唯讀物件上設定的索引鍵批註。

protected virtual void ProcessKeyAnnotations (System.Collections.Generic.IDictionary<string,object?> annotations, Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Metadata.RuntimeKey runtimeKey, bool runtime);
abstract member ProcessKeyAnnotations : System.Collections.Generic.IDictionary<string, obj> * Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Metadata.RuntimeKey * bool -> unit
override this.ProcessKeyAnnotations : System.Collections.Generic.IDictionary<string, obj> * Microsoft.EntityFrameworkCore.Metadata.IKey * Microsoft.EntityFrameworkCore.Metadata.RuntimeKey * bool -> unit
Protected Overridable 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

指出指定的注釋是否為執行時間批註。

適用於