ColumnAttribute::DbType Property
.NET Framework (current version)
Gets or sets the type of the database column.
Assembly: System.Data.Linq (in System.Data.Linq.dll)
Use this property to specify the exact text that defines the column in a Transact-SQL table declaration. Specify the DbType property only if you plan to use CreateDatabase to create an instance of the database.
The default value of DbType is inferred from the member type. For more information, see SQL-CLR Type Mapping.
.NET Framework
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Show: