BackingFieldAttribute Class

Definition

Names the backing field associated with this property or navigation property.

[System.AttributeUsage(System.AttributeTargets.Property)]
public sealed class BackingFieldAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property)>]
type BackingFieldAttribute = class
    inherit Attribute
Public NotInheritable Class BackingFieldAttribute
Inherits Attribute
Inheritance
BackingFieldAttribute
Attributes

Remarks

See Modeling entity types and relationships for more information and examples.

Constructors

BackingFieldAttribute(String)

Initializes a new instance of the BackingFieldAttribute class.

Properties

Name

The name of the backing field.

Applies to