Compartilhar via


RuntimeModelConvention.ProcessForeignKeyAnnotations Método

Definição

Atualizações as anotações de chave estrangeira que serão definidas no objeto somente leitura.

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)

Parâmetros

annotations
Dictionary<String,Object>

As anotações a serem processadas.

foreignKey
IForeignKey

A chave estrangeira de origem.

runtimeForeignKey
RuntimeForeignKey

A chave estrangeira de destino que conterá as anotações.

runtime
Boolean

Indica se as anotações fornecidas são anotações de runtime.

Aplica-se a