MetaDataMember.DbType Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets the type of the corresponding database column.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property DbType As String
public abstract string DbType { get; }

Property Value

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

Remarks

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

Version Information

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

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