Share via


IPropertyRemovedConvention.ProcessPropertyRemoved Method

Definition

Overloads

ProcessPropertyRemoved(IConventionEntityTypeBuilder, IConventionProperty, IConventionContext<IConventionProperty>)

Called after a property is removed from the entity type.

ProcessPropertyRemoved(IConventionTypeBaseBuilder, IConventionProperty, IConventionContext<IConventionProperty>)

Called after a property is removed from the entity type.

ProcessPropertyRemoved(IConventionEntityTypeBuilder, IConventionProperty, IConventionContext<IConventionProperty>)

Called after a property is removed from the entity type.

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))

Parameters

entityTypeBuilder
IConventionEntityTypeBuilder

The builder for the entity type that contained the property.

property
IConventionProperty

The removed property.

context
IConventionContext<IConventionProperty>

Additional information associated with convention execution.

Applies to

ProcessPropertyRemoved(IConventionTypeBaseBuilder, IConventionProperty, IConventionContext<IConventionProperty>)

Called after a property is removed from the entity type.

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))

Parameters

typeBaseBuilder
IConventionTypeBaseBuilder

The builder for the entity type that contained the property.

property
IConventionProperty

The removed property.

context
IConventionContext<IConventionProperty>

Additional information associated with convention execution.

Applies to