語言

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

表示所給註解是否為執行時註解。

適用於