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