Storage Property
Collapse the table of content
Expand the table of content

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 string Storage { get; set; }

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.

public string CustomerID

.NET Framework
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Return to top
© 2015 Microsoft