共用方式為


IPropertyRemovedConvention.ProcessPropertyRemoved 方法

定義

多載

ProcessPropertyRemoved(IConventionEntityTypeBuilder, IConventionProperty, IConventionContext<IConventionProperty>)

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

ProcessPropertyRemoved(IConventionTypeBaseBuilder, IConventionProperty, IConventionContext<IConventionProperty>)

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

ProcessPropertyRemoved(IConventionEntityTypeBuilder, IConventionProperty, IConventionContext<IConventionProperty>)

來源:
IPropertyRemovedConvention.cs

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

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

參數

entityTypeBuilder
IConventionEntityTypeBuilder

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

property
IConventionProperty

已移除的屬性。

context
IConventionContext<IConventionProperty>

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

適用於

ProcessPropertyRemoved(IConventionTypeBaseBuilder, IConventionProperty, IConventionContext<IConventionProperty>)

來源:
IPropertyRemovedConvention.cs
來源:
IPropertyRemovedConvention.cs

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

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
Public Sub ProcessPropertyRemoved (typeBaseBuilder As IConventionTypeBaseBuilder, property As IConventionProperty, context As IConventionContext(Of IConventionProperty))

參數

typeBaseBuilder
IConventionTypeBaseBuilder

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

property
IConventionProperty

已移除的屬性。

context
IConventionContext<IConventionProperty>

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

適用於