RuntimeModelConvention.ProcessComplexPropertyAnnotations 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
汇报将在只读对象上设置的属性批注。
protected virtual void ProcessComplexPropertyAnnotations (System.Collections.Generic.Dictionary<string,object?> annotations, Microsoft.EntityFrameworkCore.Metadata.IComplexProperty property, Microsoft.EntityFrameworkCore.Metadata.RuntimeComplexProperty runtimeProperty, bool runtime);
abstract member ProcessComplexPropertyAnnotations : System.Collections.Generic.Dictionary<string, obj> * Microsoft.EntityFrameworkCore.Metadata.IComplexProperty * Microsoft.EntityFrameworkCore.Metadata.RuntimeComplexProperty * bool -> unit
override this.ProcessComplexPropertyAnnotations : System.Collections.Generic.Dictionary<string, obj> * Microsoft.EntityFrameworkCore.Metadata.IComplexProperty * Microsoft.EntityFrameworkCore.Metadata.RuntimeComplexProperty * bool -> unit
Protected Overridable Sub ProcessComplexPropertyAnnotations (annotations As Dictionary(Of String, Object), property As IComplexProperty, runtimeProperty As RuntimeComplexProperty, runtime As Boolean)
参数
- annotations
- Dictionary<String,Object>
要处理的批注。
- property
- IComplexProperty
源属性。
- runtimeProperty
- RuntimeComplexProperty
将包含批注的目标属性。
- runtime
- Boolean
指示给定批注是否为运行时批注。