System.Data.SqlTypes Namespace

The System.Data.SqlTypes namespace contains classes and structures for native types in SQL Server. It is implemented in the System.Data.Common.dll assembly. Table A-10 lists these classes and structures.

Table A-10. Classes and Structures in the System.Data.SqlTypes Namespace

Class or Structure

Description

SqlBinary structure

Used for binary, image, timestamp, and varbinary native SQL Server types.

SqlBoolean structure

Represents an integer value that is either 1 or 0 to be stored on or retrieved from a database.

SqlByte structure

Used for the tinyint native SQL Server type.

SqlDateTime structure

Used for datetime and smalldatetime native SQL Server types.

SqlDecimal structure

Used for decimal and numeric ...

Get Microsoft® .NET Compact Framework (Core Reference) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.