Share via


NavigationBackingFieldAttributeConvention Clase

Definición

Convención que configura una propiedad de navegación como tener un campo de respaldo basado en el BackingFieldAttribute atributo .

public class NavigationBackingFieldAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.NavigationAttributeConventionBase<Microsoft.EntityFrameworkCore.BackingFieldAttribute>
public class NavigationBackingFieldAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.NavigationAttributeConventionBase<Microsoft.EntityFrameworkCore.BackingFieldAttribute>, Microsoft.EntityFrameworkCore.Metadata.Conventions.INavigationAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.ISkipNavigationAddedConvention
type NavigationBackingFieldAttributeConvention = class
    inherit NavigationAttributeConventionBase<BackingFieldAttribute>
type NavigationBackingFieldAttributeConvention = class
    inherit NavigationAttributeConventionBase<BackingFieldAttribute>
    interface INavigationAddedConvention
    interface IConvention
    interface ISkipNavigationAddedConvention
Public Class NavigationBackingFieldAttributeConvention
Inherits NavigationAttributeConventionBase(Of BackingFieldAttribute)
Public Class NavigationBackingFieldAttributeConvention
Inherits NavigationAttributeConventionBase(Of BackingFieldAttribute)
Implements INavigationAddedConvention, ISkipNavigationAddedConvention
Herencia
NavigationBackingFieldAttributeConvention
Implementaciones

Comentarios

Consulte Convenciones de creación de modelos para obtener más información y ejemplos.

Constructores

NavigationBackingFieldAttributeConvention(ProviderConventionSetBuilderDependencies)

Crea una nueva instancia de NavigationBackingFieldAttributeConvention.

Propiedades

Dependencies

Dependencias de este servicio.

(Heredado de NavigationAttributeConventionBase<TAttribute>)

Métodos

ProcessEntityTypeAdded(IConventionEntityTypeBuilder, IConventionContext<IConventionEntityTypeBuilder>)

Se llama después de agregar un tipo de entidad al modelo.

(Heredado de NavigationAttributeConventionBase<TAttribute>)
ProcessEntityTypeAdded(IConventionEntityTypeBuilder, MemberInfo, Type, TAttribute, IConventionContext<IConventionEntityTypeBuilder>)

Se llama a para cada propiedad de navegación que tenga un atributo después de agregar un tipo de entidad al modelo.

(Heredado de NavigationAttributeConventionBase<TAttribute>)
ProcessEntityTypeBaseTypeChanged(IConventionEntityTypeBuilder, IConventionEntityType, IConventionEntityType, IConventionContext<IConventionEntityType>)

Se le llama después de que cambie el tipo base de un tipo de entidad.

(Heredado de NavigationAttributeConventionBase<TAttribute>)
ProcessEntityTypeBaseTypeChanged(IConventionEntityTypeBuilder, IConventionEntityType, IConventionEntityType, MemberInfo, Type, TAttribute, IConventionContext<IConventionEntityType>)

Se llama a para cada propiedad de navegación que tenga un atributo después de cambiar el tipo base de un tipo de entidad.

(Heredado de NavigationAttributeConventionBase<TAttribute>)
ProcessEntityTypeIgnored(IConventionModelBuilder, String, Type, IConventionContext<String>)

Se llama después de que se omita un tipo de entidad.

(Heredado de NavigationAttributeConventionBase<TAttribute>)
ProcessEntityTypeIgnored(IConventionModelBuilder, Type, MemberInfo, Type, TAttribute, IConventionContext<String>)

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

(Heredado de NavigationAttributeConventionBase<TAttribute>)
ProcessEntityTypeMemberIgnored(IConventionEntityTypeBuilder, MemberInfo, Type, TAttribute, IConventionContext<String>)

Se llama después de que se omita una propiedad de navegación que tenga un atributo .

(Heredado de NavigationAttributeConventionBase<TAttribute>)
ProcessEntityTypeMemberIgnored(IConventionEntityTypeBuilder, String, IConventionContext<String>)

Se llama después de que se omita un miembro de tipo de entidad.

(Heredado de NavigationAttributeConventionBase<TAttribute>)
ProcessEntityTypeRemoved(IConventionModelBuilder, IConventionEntityType, IConventionContext<IConventionEntityType>)

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

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

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

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

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

(Heredado de NavigationAttributeConventionBase<TAttribute>)
ProcessForeignKeyPrincipalEndChanged(IConventionForeignKeyBuilder, IConventionContext<IConventionForeignKeyBuilder>)

Se llama después de cambiar el final de la entidad de seguridad de una clave externa.

(Heredado de NavigationAttributeConventionBase<TAttribute>)
ProcessForeignKeyPrincipalEndChanged(IConventionForeignKeyBuilder, IEnumerable<TAttribute>, IEnumerable<TAttribute>, IConventionContext<IConventionForeignKeyBuilder>)

Se llama después de cambiar el final de la entidad de seguridad de una clave externa.

(Heredado de NavigationAttributeConventionBase<TAttribute>)
ProcessNavigationAdded(IConventionNavigationBuilder, BackingFieldAttribute, IConventionContext<IConventionNavigationBuilder>)

Se llama después de que se agregue un atributo a un tipo de entidad después de una propiedad de navegación.

ProcessNavigationAdded(IConventionNavigationBuilder, IConventionContext<IConventionNavigationBuilder>)

Se llama después de agregar una navegación al tipo de entidad.

(Heredado de NavigationAttributeConventionBase<TAttribute>)
ProcessNavigationAdded(IConventionNavigationBuilder, TAttribute, IConventionContext<IConventionNavigationBuilder>)

Se llama después de que se agregue un atributo a un tipo de entidad después de una propiedad de navegación.

(Heredado de NavigationAttributeConventionBase<TAttribute>)
ProcessNavigationAdded(IConventionRelationshipBuilder, IConventionNavigation, IConventionContext<IConventionNavigation>)

Se llama después de agregar una navegación al tipo de entidad.

(Heredado de NavigationAttributeConventionBase<TAttribute>)
ProcessNavigationAdded(IConventionRelationshipBuilder, IConventionNavigation, TAttribute, IConventionContext<IConventionNavigation>)

Se llama después de que se agregue un atributo a un tipo de entidad después de una propiedad de navegación.

(Heredado de NavigationAttributeConventionBase<TAttribute>)
ProcessSkipNavigationAdded(IConventionSkipNavigationBuilder, BackingFieldAttribute, IConventionContext<IConventionSkipNavigationBuilder>)

Convención que configura una propiedad de navegación como tener un campo de respaldo basado en el BackingFieldAttribute atributo .

ProcessSkipNavigationAdded(IConventionSkipNavigationBuilder, IConventionContext<IConventionSkipNavigationBuilder>)

Se llama después de agregar una navegación de omisión al tipo de entidad.

(Heredado de NavigationAttributeConventionBase<TAttribute>)
ProcessSkipNavigationAdded(IConventionSkipNavigationBuilder, TAttribute, IConventionContext<IConventionSkipNavigationBuilder>)

Se llama después de una propiedad de navegación skip que tiene un atributo se agrega a un tipo de entidad.

(Heredado de NavigationAttributeConventionBase<TAttribute>)
ProcessTypeIgnored(IConventionModelBuilder, String, Type, IConventionContext<String>)

Se llama después de que se omita un tipo de entidad.

(Heredado de NavigationAttributeConventionBase<TAttribute>)
ProcessTypeIgnored(IConventionModelBuilder, Type, MemberInfo, Type, TAttribute, IConventionContext<String>)

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

(Heredado de NavigationAttributeConventionBase<TAttribute>)

Se aplica a