RuntimeModelConvention.ProcessKeyAnnotations Method

Definition

Overloads

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.

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

Source:
RuntimeModelConvention.cs
Source:
RuntimeModelConvention.cs
Source:
RuntimeModelConvention.cs

Updates the key annotations that will be set on the read-only object.

C#
protected virtual void ProcessKeyAnnotations (System.Collections.Generic.Dictionary<string,object?> annotations, Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Metadata.RuntimeKey runtimeKey, bool runtime);

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 Core 9.0 i druge verzije
Proizvod Verzije
Entity Framework Core 7.0, 8.0, 9.0

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

Source:
RuntimeModelConvention.cs

Updates the key annotations that will be set on the read-only object.

C#
protected virtual void ProcessKeyAnnotations (System.Collections.Generic.IDictionary<string,object?> annotations, Microsoft.EntityFrameworkCore.Metadata.IKey key, Microsoft.EntityFrameworkCore.Metadata.RuntimeKey runtimeKey, bool runtime);

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

Entity Framework Core 6.0
Proizvod Verzije
Entity Framework Core 6.0