Bagikan melalui


RuntimeModelConvention.ProcessElementTypeAnnotations Metode

Definisi

Updates anotasi jenis elemen yang akan diatur pada objek baca-saja.

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

Parameter

annotations
Dictionary<String,Object>

Anotasi yang akan diproses.

element
IElementType

Jenis elemen sumber.

runtimeElement
RuntimeElementType

Jenis elemen target yang akan berisi anotasi.

runtime
Boolean

Menunjukkan apakah anotasi yang diberikan adalah anotasi runtime.

Berlaku untuk