InversePropertyAttributeConvention Classe
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Uma convenção que configura a propriedade de navegação inversa com base na InversePropertyAttribute propriedade de navegação especificada na outra propriedade de navegação.
[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
- Herança
-
InversePropertyAttributeConvention
- Derivado
- Atributos
- Implementações
Comentários
Consulte as convenções de criação de modelos para obter mais informações e exemplos.
Construtores
| Nome | Descrição |
|---|---|
| InversePropertyAttributeConvention(ProviderConventionSetBuilderDependencies) |
Cria uma nova instância de InversePropertyAttributeConvention. |
Propriedades
| Nome | Descrição |
|---|---|
| Dependencies |
Dependências para esse serviço. (Herdado de NavigationAttributeConventionBase<TAttribute>) |