Share via


RuntimeModelConvention.ProcessForeignKeyAnnotations Method

Definition

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

protected virtual void ProcessForeignKeyAnnotations (System.Collections.Generic.Dictionary<string,object?> annotations, Microsoft.EntityFrameworkCore.Metadata.IForeignKey foreignKey, Microsoft.EntityFrameworkCore.Metadata.RuntimeForeignKey runtimeForeignKey, bool runtime);
abstract member ProcessForeignKeyAnnotations : System.Collections.Generic.Dictionary<string, obj> * Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Metadata.RuntimeForeignKey * bool -> unit
override this.ProcessForeignKeyAnnotations : System.Collections.Generic.Dictionary<string, obj> * Microsoft.EntityFrameworkCore.Metadata.IForeignKey * Microsoft.EntityFrameworkCore.Metadata.RuntimeForeignKey * bool -> unit
Protected Overridable Sub ProcessForeignKeyAnnotations (annotations As Dictionary(Of String, Object), foreignKey As IForeignKey, runtimeForeignKey As RuntimeForeignKey, runtime As Boolean)

Parameters

annotations
Dictionary<String,Object>

The annotations to be processed.

foreignKey
IForeignKey

The source foreign key.

runtimeForeignKey
RuntimeForeignKey

The target foreign key that will contain the annotations.

runtime
Boolean

Indicates whether the given annotations are runtime annotations.

Applies to