Bagikan melalui


RelationalRuntimeModelConvention.ProcessForeignKeyAnnotations Metode

Definisi

Updates anotasi kunci asing yang akan diatur pada objek baca-saja.

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

Parameter

annotations
Dictionary<String,Object>

Anotasi yang akan diproses.

foreignKey
IForeignKey

Sumber kunci asing.

runtimeForeignKey
RuntimeForeignKey

Kunci asing target yang akan berisi anotasi.

runtime
Boolean

Menunjukkan apakah anotasi yang diberikan adalah anotasi runtime.

Berlaku untuk