Export (0) Print
Expand All

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)

'Declaration
Public Property Storage As String

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 

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft