PropertyAttributeConventionBase<TAttribute>.ProcessComplexPropertyAdded 方法

定义

在将复杂属性添加到类似类型的对象后调用。

public virtual void ProcessComplexPropertyAdded (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionComplexPropertyBuilder propertyBuilder, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionComplexPropertyBuilder> context);
abstract member ProcessComplexPropertyAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionComplexPropertyBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionComplexPropertyBuilder> -> unit
override this.ProcessComplexPropertyAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionComplexPropertyBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionComplexPropertyBuilder> -> unit
Public Overridable Sub ProcessComplexPropertyAdded (propertyBuilder As IConventionComplexPropertyBuilder, context As IConventionContext(Of IConventionComplexPropertyBuilder))

参数

propertyBuilder
IConventionComplexPropertyBuilder

复杂属性的生成器。

context
IConventionContext<IConventionComplexPropertyBuilder>

与约定执行关联的其他信息。

适用于