Condividi tramite


RuntimeModelConvention.ProcessForeignKeyAnnotations Metodo

Definizione

Aggiornamenti le annotazioni chiave esterna che verranno impostate sull'oggetto di sola lettura.

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)

Parametri

annotations
Dictionary<String,Object>

Annotazioni da elaborare.

foreignKey
IForeignKey

Chiave esterna di origine.

runtimeForeignKey
RuntimeForeignKey

Chiave esterna di destinazione che conterrà le annotazioni.

runtime
Boolean

Indica se le annotazioni indicate sono annotazioni di runtime.

Si applica a