語言

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

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

適用於