語言

SqlServerRuntimeModelConvention.ProcessKeyAnnotations 方法

定義

多載

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

更新將被設定在唯讀物件上的金鑰註解。

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

更新將被設定在唯讀物件上的金鑰註解。

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

來源:
SqlServerRuntimeModelConvention.cs
來源:
SqlServerRuntimeModelConvention.cs
來源:
SqlServerRuntimeModelConvention.cs
來源:
SqlServerRuntimeModelConvention.cs
來源:
SqlServerRuntimeModelConvention.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

表示所給註解是否為執行時註解。

適用於

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

來源:
SqlServerRuntimeModelConvention.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

表示所給註解是否為執行時註解。

適用於