閱讀英文版本

分享方式:


PropertyAttributeConventionBase<TAttribute>.ProcessComplexPropertyAdded 方法

定義

在複雜屬性新增至類似型別的物件之後呼叫。

C#
public virtual void ProcessComplexPropertyAdded (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionComplexPropertyBuilder propertyBuilder, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionComplexPropertyBuilder> context);

參數

propertyBuilder
IConventionComplexPropertyBuilder

複雜屬性的產生器。

context
IConventionContext<IConventionComplexPropertyBuilder>

與慣例執行相關聯的其他資訊。

適用於

產品 版本
Entity Framework Core 8.0, 9.0