共用方式為


RelationalRuntimeModelConvention.ProcessPropertyAnnotations 方法

定義

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

protected override void ProcessPropertyAnnotations (System.Collections.Generic.Dictionary<string,object?> annotations, Microsoft.EntityFrameworkCore.Metadata.IProperty property, Microsoft.EntityFrameworkCore.Metadata.RuntimeProperty runtimeProperty, bool runtime);
override this.ProcessPropertyAnnotations : System.Collections.Generic.Dictionary<string, obj> * Microsoft.EntityFrameworkCore.Metadata.IProperty * Microsoft.EntityFrameworkCore.Metadata.RuntimeProperty * bool -> unit
Protected Overrides Sub ProcessPropertyAnnotations (annotations As Dictionary(Of String, Object), property As IProperty, runtimeProperty As RuntimeProperty, runtime As Boolean)

參數

annotations
Dictionary<String,Object>

要處理的批註。

property
IProperty

來源屬性。

runtimeProperty
RuntimeProperty

將包含批註的目標屬性。

runtime
Boolean

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

適用於