Chapter 38. The System.Data.SqlTypes Namespace
The
System.Data.SqlTypes
namespace contains classes
for SQL Server’s native data types, such as
money
, tinyint
, and
varchar
. These classes can provide faster access
(because typecasting isn’t required), and eliminate
conversion errors. Chapter 5 describes the
DataReader
methods you can use to retrieve
database values in their native format. However, this technique is
rarely required. Figure 38-1 shows the types in this
namespace.
Get ADO.NET in a Nutshell 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.