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


ADO. NET in a Nutshell
ADO.NET in a Nutshell
ISBN: 0596003617
EAN: 2147483647
Year: 2005
Pages: 415

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net