[ Team LiB ] Previous Section Next Section

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.

Figure 38-1. The System.Data.SqlTypes namespace
figs/adonet_3801.gif
    [ Team LiB ] Previous Section Next Section