語言

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

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

適用於