共用方式為


RuntimeModelConvention.ProcessComplexPropertyAnnotations 方法

定義

匯報將在唯讀物件上設定的屬性批註。

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

參數

annotations
Dictionary<String,Object>

要處理的批註。

property
IComplexProperty

來源屬性。

runtimeProperty
RuntimeComplexProperty

將包含批註的目標屬性。

runtime
Boolean

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

適用於