IPropertyRemovedConvention.ProcessPropertyRemoved 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ProcessPropertyRemoved(IConventionEntityTypeBuilder, IConventionProperty, IConventionContext<IConventionProperty>)
在从实体类型中删除属性后调用。
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>)
在从实体类型中删除属性后调用。
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>
与约定执行关联的其他信息。