RelationalRuntimeModelConvention.ProcessKeyAnnotations 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ProcessKeyAnnotations(IDictionary<String,Object>, IKey, RuntimeKey, Boolean) |
汇报将在只读对象上设置的键批注。 |
ProcessKeyAnnotations(Dictionary<String,Object>, IKey, RuntimeKey, 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
指示给定批注是否为运行时批注。
适用于
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
指示给定批注是否为运行时批注。