BackingFieldAttributeConvention 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 uma propriedade como tendo um campo de backup com base no BackingFieldAttribute atributo .
public class BackingFieldAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.PropertyAttributeConventionBase<Microsoft.EntityFrameworkCore.BackingFieldAttribute>
public class BackingFieldAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.PropertyAttributeConventionBase<Microsoft.EntityFrameworkCore.BackingFieldAttribute>, Microsoft.EntityFrameworkCore.Metadata.Conventions.IComplexPropertyAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IComplexPropertyFieldChangedConvention
type BackingFieldAttributeConvention = class
inherit PropertyAttributeConventionBase<BackingFieldAttribute>
type BackingFieldAttributeConvention = class
inherit PropertyAttributeConventionBase<BackingFieldAttribute>
interface IComplexPropertyAddedConvention
interface IConvention
interface IComplexPropertyFieldChangedConvention
Public Class BackingFieldAttributeConvention
Inherits PropertyAttributeConventionBase(Of BackingFieldAttribute)
Public Class BackingFieldAttributeConvention
Inherits PropertyAttributeConventionBase(Of BackingFieldAttribute)
Implements IComplexPropertyAddedConvention, IComplexPropertyFieldChangedConvention
- Herança
- Implementações
Comentários
Consulte Convenções de criação de modelo para obter mais informações e exemplos.
Construtores
BackingFieldAttributeConvention(ProviderConventionSetBuilderDependencies) |
Cria uma nova instância de BackingFieldAttributeConvention. |
Propriedades
Dependencies |
Dependências para esse serviço. (Herdado de PropertyAttributeConventionBase<TAttribute>) |
Métodos
Aplica-se a
Entity Framework
Comentários
https://aka.ms/ContentUserFeedback.
Em breve: Ao longo de 2024, eliminaremos os problemas do GitHub como o mecanismo de comentários para conteúdo e o substituiremos por um novo sistema de comentários. Para obter mais informações, consulteEnviar e exibir comentários de