Export (0) Print
Expand All

MetaDataMember.DbType Property

Gets the type of the corresponding database column.

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

public abstract string DbType { get; }

Property Value

Type: System.String
The type of the database column as a string.

This will be the exact text used to define the column in a T-SQL table declaration command. If not so defined, the database column type is inferred from the member type.

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