This documentation is archived and is not being maintained.

DataAttribute.Storage Property

Gets or sets a private storage field to hold the value from a column.

Namespace:  System.Data.Linq.Mapping
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

Public Property Storage As String
Dim instance As DataAttribute 
Dim value As String 

value = instance.Storage

instance.Storage = value

Property Value

Type: System.String
The name of the storage field.

Storage property values are case sensitive. For example, ensure that values used in the attribute for the Storage property match the case for the corresponding property names used elsewhere in the code. This applies to all .NET programming languages, even those which are not typically case sensitive, including Visual Basic.

<Column(Storage:=_CustomerID)> _
Public CustomerID As String 

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5