RelationalRuntimeModelConvention.ProcessKeyAnnotations Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ProcessKeyAnnotations(IDictionary<String,Object>, IKey, RuntimeKey, Boolean) |
Updates the key annotations that will be set on the read-only object. |
ProcessKeyAnnotations(Dictionary<String,Object>, IKey, RuntimeKey, Boolean) |
Updates the key annotations that will be set on the read-only object. |
ProcessKeyAnnotations(IDictionary<String,Object>, IKey, RuntimeKey, Boolean)
Updates the key annotations that will be set on the read-only object.
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)
Parameters
- annotations
- IDictionary<String,Object>
The annotations to be processed.
- key
- IKey
The source key.
- runtimeKey
- RuntimeKey
The target key that will contain the annotations.
- runtime
- Boolean
Indicates whether the given annotations are runtime annotations.
Applies to
ProcessKeyAnnotations(Dictionary<String,Object>, IKey, RuntimeKey, Boolean)
Updates the key annotations that will be set on the read-only object.
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)
Parameters
- annotations
- Dictionary<String,Object>
The annotations to be processed.
- key
- IKey
The source key.
- runtimeKey
- RuntimeKey
The target key that will contain the annotations.
- runtime
- Boolean
Indicates whether the given annotations are runtime annotations.
Applies to
Entity Framework