Lingua

BackingFieldAttribute Classe

Definizione

Assegna un nome al campo sottostante associato a questa proprietà o proprietà di navigazione.

[System.AttributeUsage(System.AttributeTargets.Property)]
[System.Runtime.CompilerServices.Nullable(0)]
public sealed class BackingFieldAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Property)]
public sealed class BackingFieldAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property)>]
[<System.Runtime.CompilerServices.Nullable(0)>]
type BackingFieldAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Property)>]
type BackingFieldAttribute = class
    inherit Attribute
Public NotInheritable Class BackingFieldAttribute
Inherits Attribute
Ereditarietà
BackingFieldAttribute
Attributi

Commenti

Per altre informazioni ed esempi, vedere Modellazione di tipi di entità e relazioni .

Costruttori

Nome Descrizione
BackingFieldAttribute(String)

Inizializza una nuova istanza della classe BackingFieldAttribute.

Proprietà

Nome Descrizione
Name

Nome del campo sottostante.

Si applica a