InversePropertyAttributeConvention Clase
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Convención que configura la propiedad de navegación inversa basada en el InversePropertyAttribute especificado en la otra propiedad de navegación.
[System.Runtime.CompilerServices.Nullable(new System.Byte[] { 0, 1 })]
public class InversePropertyAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.NavigationAttributeConventionBase<System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute>, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeBaseTypeChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeMemberIgnoredConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeRemovedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.INavigationAddedConvention
public class InversePropertyAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.NavigationAttributeConventionBase<System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute>, Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizedConvention
public class InversePropertyAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.NavigationAttributeConventionBase<System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute>, Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention
public class InversePropertyAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.NavigationAttributeConventionBase<System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute>, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeBaseTypeChangedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeMemberIgnoredConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IEntityTypeRemovedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.INavigationAddedConvention
[<System.Runtime.CompilerServices.Nullable(new System.Byte[] { 0, 1 })>]
type InversePropertyAttributeConvention = class
inherit NavigationAttributeConventionBase<InversePropertyAttribute>
interface IEntityTypeAddedConvention
interface IConvention
interface IEntityTypeRemovedConvention
interface IEntityTypeBaseTypeChangedConvention
interface IEntityTypeMemberIgnoredConvention
interface INavigationAddedConvention
interface IModelFinalizingConvention
type InversePropertyAttributeConvention = class
inherit NavigationAttributeConventionBase<InversePropertyAttribute>
interface IModelFinalizedConvention
interface IConvention
type InversePropertyAttributeConvention = class
inherit NavigationAttributeConventionBase<InversePropertyAttribute>
interface IModelFinalizingConvention
interface IConvention
type InversePropertyAttributeConvention = class
inherit NavigationAttributeConventionBase<InversePropertyAttribute>
interface IEntityTypeAddedConvention
interface IConvention
interface IEntityTypeRemovedConvention
interface IEntityTypeBaseTypeChangedConvention
interface IEntityTypeMemberIgnoredConvention
interface INavigationAddedConvention
interface IModelFinalizingConvention
Public Class InversePropertyAttributeConvention
Inherits NavigationAttributeConventionBase(Of InversePropertyAttribute)
Implements IEntityTypeAddedConvention, IEntityTypeBaseTypeChangedConvention, IEntityTypeMemberIgnoredConvention, IEntityTypeRemovedConvention, IModelFinalizingConvention, INavigationAddedConvention
Public Class InversePropertyAttributeConvention
Inherits NavigationAttributeConventionBase(Of InversePropertyAttribute)
Implements IModelFinalizedConvention
Public Class InversePropertyAttributeConvention
Inherits NavigationAttributeConventionBase(Of InversePropertyAttribute)
Implements IModelFinalizingConvention
- Herencia
-
InversePropertyAttributeConvention
- Derivado
- Atributos
- Implementaciones
Comentarios
Consulte Convenciones de creación de modelos para obtener más información y ejemplos.
Constructores
| Nombre | Description |
|---|---|
| InversePropertyAttributeConvention(ProviderConventionSetBuilderDependencies) |
Crea una nueva instancia de InversePropertyAttributeConvention. |
Propiedades
| Nombre | Description |
|---|---|
| Dependencies |
Dependencias de este servicio. (Heredado de NavigationAttributeConventionBase<TAttribute>) |