共用方式為


RuntimeModelConvention.ProcessServicePropertyAnnotations 方法

定義

更新將在唯讀物件上設定的服務屬性批註。

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)

參數

annotations
Dictionary<String,Object>

要處理的批註。

property
IServiceProperty

來源服務屬性。

runtimeProperty
RuntimeServiceProperty

將包含批註的目標服務屬性。

runtime
Boolean

指出指定的注釋是否為執行時間批註。

適用於