BackingFieldAttributeConvention 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 una propiedad como tener un campo de respaldo basado en el BackingFieldAttribute atributo .
[System.Runtime.CompilerServices.Nullable(new System.Byte[] { 0, 1 })]
public class BackingFieldAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.PropertyAttributeConventionBase<Microsoft.EntityFrameworkCore.BackingFieldAttribute>, Microsoft.EntityFrameworkCore.Metadata.Conventions.IComplexPropertyAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IComplexPropertyFieldChangedConvention
public class BackingFieldAttributeConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.PropertyAttributeConventionBase<Microsoft.EntityFrameworkCore.BackingFieldAttribute>
[<System.Runtime.CompilerServices.Nullable(new System.Byte[] { 0, 1 })>]
type BackingFieldAttributeConvention = class
inherit PropertyAttributeConventionBase<BackingFieldAttribute>
interface IComplexPropertyAddedConvention
interface IConvention
interface IComplexPropertyFieldChangedConvention
type BackingFieldAttributeConvention = class
inherit PropertyAttributeConventionBase<BackingFieldAttribute>
Public Class BackingFieldAttributeConvention
Inherits PropertyAttributeConventionBase(Of BackingFieldAttribute)
Implements IComplexPropertyAddedConvention, IComplexPropertyFieldChangedConvention
Public Class BackingFieldAttributeConvention
Inherits PropertyAttributeConventionBase(Of BackingFieldAttribute)
- Herencia
- Atributos
- Implementaciones
Comentarios
Consulte Convenciones de creación de modelos para obtener más información y ejemplos.
Constructores
| Nombre | Description |
|---|---|
| BackingFieldAttributeConvention(ProviderConventionSetBuilderDependencies) |
Crea una nueva instancia de BackingFieldAttributeConvention. |
Propiedades
| Nombre | Description |
|---|---|
| Dependencies |
Dependencias de este servicio. (Heredado de PropertyAttributeConventionBase<TAttribute>) |