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 プログラミング言語に適用されます。

適用対象