Share via


RuntimeModelConvention.ProcessServicePropertyAnnotations Method

Definition

Updates the service property annotations that will be set on the read-only object.

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)

Parameters

annotations
Dictionary<String,Object>

The annotations to be processed.

property
IServiceProperty

The source service property.

runtimeProperty
RuntimeServiceProperty

The target service property that will contain the annotations.

runtime
Boolean

Indicates whether the given annotations are runtime annotations.

Applies to