SqlServerRuntimeModelConvention.ProcessKeyAnnotations 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| ProcessKeyAnnotations(Dictionary<String,Object>, IKey, RuntimeKey, Boolean) |
更新將被設定在唯讀物件上的金鑰註解。 |
| ProcessKeyAnnotations(IDictionary<String,Object>, IKey, RuntimeKey, Boolean) |
更新將被設定在唯讀物件上的金鑰註解。 |
ProcessKeyAnnotations(Dictionary<String,Object>, IKey, RuntimeKey, Boolean)
更新將被設定在唯讀物件上的金鑰註解。
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)
更新將被設定在唯讀物件上的金鑰註解。
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
表示所給註解是否為執行時註解。