語言

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
屬性

備註

更多資訊與範例請參閱 建模實體類型與關係 。

建構函式

名稱 Description
BackingFieldAttribute(String)

初始化 BackingFieldAttribute 類別的新執行個體。

屬性

名稱 Description
Name

背景場的名稱。

適用於