RuntimeModelConvention.ProcessServicePropertyAnnotations 方法

定义

汇报将在只读对象上设置的服务属性注释。

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

参数

annotations
Dictionary<String,Object>

要处理的批注。

property
IServiceProperty

源服务属性。

runtimeProperty
RuntimeServiceProperty

将包含批注的目标服务属性。

runtime
Boolean

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

适用于