语言

BackingFieldAttribute 类

定义

命名与此属性或导航属性关联的后盾字段。

[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
继承
BackingFieldAttribute
特性

注解

有关详细信息和示例,请参阅 建模实体类型和关系 。

构造函数

名称 说明
BackingFieldAttribute(String)

初始化 BackingFieldAttribute 类的新实例。

属性

名称 说明
Name

支持字段的名称。

适用于