BackingFieldConvention Classe
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Convenzione che consente di trovare campi di backup per le proprietà in base ai relativi nomi:
- <[nome proprietà]>k__BackingField
- _[nome proprietà cased camel]
- _[nome proprietà]
- m_[nome proprietà cased camel]
- m_[nome proprietà]
- [nome proprietà]_
public class BackingFieldConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.INavigationAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IPropertyAddedConvention
public class BackingFieldConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.INavigationAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IPropertyAddedConvention
public class BackingFieldConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.INavigationAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IPropertyAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.ISkipNavigationAddedConvention
public class BackingFieldConvention : Microsoft.EntityFrameworkCore.Metadata.Conventions.IComplexPropertyAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IModelFinalizingConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.INavigationAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.IPropertyAddedConvention, Microsoft.EntityFrameworkCore.Metadata.Conventions.ISkipNavigationAddedConvention
type BackingFieldConvention = class
interface IPropertyAddedConvention
interface IConvention
interface INavigationAddedConvention
type BackingFieldConvention = class
interface IPropertyAddedConvention
interface IConvention
interface INavigationAddedConvention
interface IModelFinalizedConvention
type BackingFieldConvention = class
interface IPropertyAddedConvention
interface IConvention
interface INavigationAddedConvention
interface ISkipNavigationAddedConvention
interface IModelFinalizingConvention
type BackingFieldConvention = class
interface IPropertyAddedConvention
interface IConvention
interface INavigationAddedConvention
interface ISkipNavigationAddedConvention
interface IComplexPropertyAddedConvention
interface IModelFinalizingConvention
Public Class BackingFieldConvention
Implements INavigationAddedConvention, IPropertyAddedConvention
Public Class BackingFieldConvention
Implements IModelFinalizedConvention, INavigationAddedConvention, IPropertyAddedConvention
Public Class BackingFieldConvention
Implements IModelFinalizingConvention, INavigationAddedConvention, IPropertyAddedConvention, ISkipNavigationAddedConvention
Public Class BackingFieldConvention
Implements IComplexPropertyAddedConvention, IModelFinalizingConvention, INavigationAddedConvention, IPropertyAddedConvention, ISkipNavigationAddedConvention
- Ereditarietà
-
BackingFieldConvention
- Implementazioni
Commenti
Il tipo di campo deve essere di un tipo assegnabile a o dal tipo di proprietà. Se viene rilevata più di un campo corrispondente, viene generata un'eccezione.
Per altre informazioni ed esempi, vedere Convenzioni di compilazione di modelli.
Costruttori
BackingFieldConvention(ProviderConventionSetBuilderDependencies) |
Crea una nuova istanza di BackingFieldConvention. |
Proprietà
Dependencies |
Dipendenze per questo servizio. |