Compartir a través de


NavigationAttributeConventionBase<TAttribute>.ProcessEntityTypeRemoved Método

Definición

Sobrecargas

ProcessEntityTypeRemoved(IConventionModelBuilder, Type, MemberInfo, Type, TAttribute, IConventionContext<IConventionEntityType>)

Se llama a para cada propiedad de navegación que tiene un atributo después de quitar un tipo de entidad.

ProcessEntityTypeRemoved(IConventionModelBuilder, IConventionEntityType, IConventionContext<IConventionEntityType>)

Se llama después de quitar un tipo de entidad del modelo.

ProcessEntityTypeRemoved(IConventionModelBuilder, IConventionEntityType, MemberInfo, Type, TAttribute, IConventionContext<IConventionEntityType>)

Se llama a para cada propiedad de navegación que tiene un atributo después de quitar un tipo de entidad.

ProcessEntityTypeRemoved(IConventionModelBuilder, Type, MemberInfo, Type, TAttribute, IConventionContext<IConventionEntityType>)

Se llama a para cada propiedad de navegación que tiene un atributo después de quitar un tipo de entidad.

public virtual void ProcessEntityTypeRemoved (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder modelBuilder, Type type, System.Reflection.MemberInfo navigationMemberInfo, Type targetClrType, TAttribute attribute, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType> context);
abstract member ProcessEntityTypeRemoved : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder * Type * System.Reflection.MemberInfo * Type * 'Attribute * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType> -> unit
override this.ProcessEntityTypeRemoved : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder * Type * System.Reflection.MemberInfo * Type * 'Attribute * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType> -> unit
Public Overridable Sub ProcessEntityTypeRemoved (modelBuilder As IConventionModelBuilder, type As Type, navigationMemberInfo As MemberInfo, targetClrType As Type, attribute As TAttribute, context As IConventionContext(Of IConventionEntityType))

Parámetros

modelBuilder
IConventionModelBuilder

Generador del modelo.

type
Type

Tipo de entidad omitido.

navigationMemberInfo
MemberInfo

Información del miembro de navegación.

targetClrType
Type

Tipo CLR del tipo de entidad de destino.

attribute
TAttribute

El atributo.

context
IConventionContext<IConventionEntityType>

Información adicional asociada a la ejecución de convención.

Se aplica a

ProcessEntityTypeRemoved(IConventionModelBuilder, IConventionEntityType, IConventionContext<IConventionEntityType>)

Se llama después de quitar un tipo de entidad del modelo.

public virtual void ProcessEntityTypeRemoved (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder modelBuilder, Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType> context);
abstract member ProcessEntityTypeRemoved : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder * Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType> -> unit
override this.ProcessEntityTypeRemoved : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder * Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType> -> unit
Public Overridable Sub ProcessEntityTypeRemoved (modelBuilder As IConventionModelBuilder, entityType As IConventionEntityType, context As IConventionContext(Of IConventionEntityType))

Parámetros

modelBuilder
IConventionModelBuilder

Generador del modelo.

entityType
IConventionEntityType

Tipo de entidad quitado.

context
IConventionContext<IConventionEntityType>

Información adicional asociada a la ejecución de convención.

Implementaciones

Se aplica a

ProcessEntityTypeRemoved(IConventionModelBuilder, IConventionEntityType, MemberInfo, Type, TAttribute, IConventionContext<IConventionEntityType>)

Se llama a para cada propiedad de navegación que tiene un atributo después de quitar un tipo de entidad.

public virtual void ProcessEntityTypeRemoved (Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder modelBuilder, Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, System.Reflection.MemberInfo navigationMemberInfo, Type targetClrType, TAttribute attribute, Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType> context);
abstract member ProcessEntityTypeRemoved : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder * Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * System.Reflection.MemberInfo * Type * 'Attribute * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType> -> unit
override this.ProcessEntityTypeRemoved : Microsoft.EntityFrameworkCore.Metadata.Builders.IConventionModelBuilder * Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * System.Reflection.MemberInfo * Type * 'Attribute * Microsoft.EntityFrameworkCore.Metadata.Conventions.IConventionContext<Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType> -> unit
Public Overridable Sub ProcessEntityTypeRemoved (modelBuilder As IConventionModelBuilder, entityType As IConventionEntityType, navigationMemberInfo As MemberInfo, targetClrType As Type, attribute As TAttribute, context As IConventionContext(Of IConventionEntityType))

Parámetros

modelBuilder
IConventionModelBuilder

Generador del modelo.

entityType
IConventionEntityType

Tipo de entidad omitido.

navigationMemberInfo
MemberInfo

Información del miembro de navegación.

targetClrType
Type

Tipo CLR del tipo de entidad de destino.

attribute
TAttribute

El atributo.

context
IConventionContext<IConventionEntityType>

Información adicional asociada a la ejecución de convención.

Se aplica a