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)

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.

[Column(Storage="_CustomerID")]
public string CustomerID
{
}

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

Community Additions

ADD
Show:
© 2014 Microsoft