SqlServerRuntimeModelConvention.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

指示给定批注是否为运行时批注。

适用于