Share via


BackingFieldAttribute 类

定义

命名与此属性或导航属性关联的支持字段。

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

注解

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

构造函数

BackingFieldAttribute(String)

初始化 BackingFieldAttribute 类的新实例。

属性

Name

支持字段的名称。

适用于