SqlServerRuntimeModelConvention.ProcessPropertyOverridesAnnotations 方法

定义

汇报关系属性将替代将在只读对象上设置的注释。

protected override void ProcessPropertyOverridesAnnotations (System.Collections.Generic.Dictionary<string,object?> annotations, Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyOverrides propertyOverrides, Microsoft.EntityFrameworkCore.Metadata.RuntimeRelationalPropertyOverrides runtimePropertyOverrides, bool runtime);
override this.ProcessPropertyOverridesAnnotations : System.Collections.Generic.Dictionary<string, obj> * Microsoft.EntityFrameworkCore.Metadata.IRelationalPropertyOverrides * Microsoft.EntityFrameworkCore.Metadata.RuntimeRelationalPropertyOverrides * bool -> unit
Protected Overrides Sub ProcessPropertyOverridesAnnotations (annotations As Dictionary(Of String, Object), propertyOverrides As IRelationalPropertyOverrides, runtimePropertyOverrides As RuntimeRelationalPropertyOverrides, runtime As Boolean)

参数

annotations
Dictionary<String,Object>

要处理的批注。

propertyOverrides
IRelationalPropertyOverrides

源关系属性重写。

runtimePropertyOverrides
RuntimeRelationalPropertyOverrides

目标关系属性重写将包含批注。

runtime
Boolean

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

适用于