DataAttribute.Storage プロパティ

定義

列の値を保持するプライベート ストレージ フィールドを取得または設定します。

public:
 property System::String ^ Storage { System::String ^ get(); void set(System::String ^ value); };
public string Storage { get; set; }
member this.Storage : string with get, set
Public Property Storage As String

プロパティ値

ストレージ フィールドの名前。

<Column(Storage:=_CustomerID)> _
Public CustomerID As String
[Column(Storage="_CustomerID")]
public string CustomerID
{
}

注釈

ストレージ プロパティの値では、大文字と小文字が区別されます。 たとえば、Storage プロパティの属性で使用される値が、コード内の別の場所で使用される対応するプロパティ名の大文字と小文字が一致していることを確認します。 これは、Visual Basicを含め、通常は大文字と小文字が区別されない言語であっても、すべての.NETプログラミング言語に適用されます。

適用対象