SqlServerRuntimeModelConvention.ProcessKeyAnnotations 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
指出指定的批註是否為執行時間批註。