共用方式為


ComplexPropertyDiscoveryConvention.ProcessPropertyRemoved 方法

定義

從實體類型中移除屬性之後呼叫。

public void ProcessPropertyRemoved (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionTypeBaseBuilder typeBaseBuilder, Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty> context);
abstract member ProcessPropertyRemoved : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionTypeBaseBuilder * Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty> -> unit
override this.ProcessPropertyRemoved : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionTypeBaseBuilder * Microsoft.EntityFrameworkCore.Metadata.IConventionProperty * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty> -> unit
Public Sub ProcessPropertyRemoved (typeBaseBuilder As IConventionTypeBaseBuilder, property As IConventionProperty, context As IConventionContext(Of IConventionProperty))

參數

typeBaseBuilder
IConventionTypeBaseBuilder

包含 屬性之實體類型的產生器。

property
IConventionProperty

已移除的屬性。

context
IConventionContext<IConventionProperty>

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

實作

適用於