RuntimeModelConvention.ProcessModelAnnotations Method

Definition

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

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

Parameters

annotations
Dictionary<String,Object>

The annotations to be processed.

model
IModel

The source model.

runtimeModel
RuntimeModel

The target model that will contain the annotations.

runtime
Boolean

Indicates whether the given annotations are runtime annotations.

Applies to