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)

abstract DbType : string with 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 Transact-SQL table declaration command. If not so defined, the database column type is inferred from the member type.

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