NavigationBackingFieldAttributeConvention Classe
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Convention qui configure une propriété de navigation comme ayant un champ de stockage basé sur l’attribut BackingFieldAttribute .
[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)
- Héritage
-
NavigationBackingFieldAttributeConvention
- Attributs
- Implémente
Remarques
Pour plus d’informations et d’exemples, consultez les conventions de génération de modèles.
Constructeurs
| Nom | Description |
|---|---|
| NavigationBackingFieldAttributeConvention(ProviderConventionSetBuilderDependencies) |
Crée une instance de NavigationBackingFieldAttributeConvention. |
Propriétés
| Nom | Description |
|---|---|
| Dependencies |
Dépendances pour ce service. (Hérité de NavigationAttributeConventionBase<TAttribute>) |