共用方式為


IPropertyAddedConvention.ProcessPropertyAdded 方法

定義

在屬性新增至實體類型之後呼叫。

public void ProcessPropertyAdded (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder propertyBuilder, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder> context);
abstract member ProcessPropertyAdded : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionPropertyBuilder> -> unit
Public Sub ProcessPropertyAdded (propertyBuilder As IConventionPropertyBuilder, context As IConventionContext(Of IConventionPropertyBuilder))

參數

propertyBuilder
IConventionPropertyBuilder

屬性的產生器。

context
IConventionContext<IConventionPropertyBuilder>

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

適用於