共用方式為


NotMappedMemberAttributeConvention.ProcessComplexPropertyAdded 方法

定義

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

public 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 Sub ProcessComplexPropertyAdded (propertyBuilder As IConventionComplexPropertyBuilder, context As IConventionContext(Of IConventionComplexPropertyBuilder))

參數

propertyBuilder
IConventionComplexPropertyBuilder

複雜屬性的產生器。

context
IConventionContext<IConventionComplexPropertyBuilder>

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

實作

適用於