SqlServerRuntimeModelConvention.ProcessModelAnnotations 方法

定义

汇报将在只读对象上设置的模型注释。

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

参数

annotations
Dictionary<String,Object>

要处理的批注。

model
IModel

源模型。

runtimeModel
RuntimeModel

将包含批注的目标模型。

runtime
Boolean

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

适用于