Bagikan melalui


RuntimeModelConvention.ProcessServicePropertyAnnotations Metode

Definisi

Updates anotasi properti layanan yang akan diatur pada objek baca-saja.

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

Parameter

annotations
Dictionary<String,Object>

Anotasi yang akan diproses.

property
IServiceProperty

Properti layanan sumber.

runtimeProperty
RuntimeServiceProperty

Properti layanan target yang akan berisi anotasi.

runtime
Boolean

Menunjukkan apakah anotasi yang diberikan adalah anotasi runtime.

Berlaku untuk