IPropertyRemovedConvention.ProcessPropertyRemoved 方法

定义

重载

ProcessPropertyRemoved(IConventionEntityTypeBuilder, IConventionProperty, IConventionContext<IConventionProperty>)

在从实体类型中删除属性后调用。

ProcessPropertyRemoved(IConventionTypeBaseBuilder, IConventionProperty, IConventionContext<IConventionProperty>)

在从实体类型中删除属性后调用。

ProcessPropertyRemoved(IConventionEntityTypeBuilder, IConventionProperty, IConventionContext<IConventionProperty>)

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

Source:
IPropertyRemovedConvention.cs
Source:
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>

与约定执行关联的其他信息。

适用于