1.1

Table Of Contents
Chapter 59
ADO.NET Driver Reference
The SQLFire ADO.NET driver implements Microsoft's ADO.NET interfaces and abstract classes.
SQLFire Data Types in ADO.NET
There is a one-to-one mapping between SQLFire Data Types and corresponding values in the
VMware.Data.SQLFire.SQLFType enumeration.
Table 41: SQL types to SQLFType mapping on page 676 describes the mapping. Also listed there are the
corresponding System.Data.DbType enumeration values and the mapped .NET object types. For easy manipulation
of .NET objects, the driver allows you to provide the objects directly as parameter values to the Parameters
collection of the DbCommand object, and the driver automatically determines applicable attributes for the
corresponding DbParameter. Likewise the driver automatically lls in the output parameters with appropriate
size and other attributes when invoking procedures with OUT or INOUT type of parameters. For details and
examples, see Named and positional parameters in commands on page 670.
Data Types on page 604 describes the various types supported by SQLFire and also lists the corresponding
ADO.NET types and API methods of DbDataReader to use when using the ADO.NET driver.
Note: You cannot register a custom .NET type as a user-dened type in SQLFire.
VMware.Data.SQLFire.BatchUpdateException
VMware.Data.SQLFire.BatchUpdateException is an extension of SQLFExtension that indicates a failure during
execution of a batch statement.
Failures can occur during Batch operations when using the VMware.Data.SQLFire.SQLFCommand on page 670
as or when using UpdateBatchSize of VMware.Data.SQLFire.SQLFDataAdapter on page 677. The other exceptions
due to other batch elements are maintained in the NextException chain as mentioned in that section .
This class adds one new method to the SQLFException class called UpdateCounts. UpdateCounts returns an
array of update counts of the statements that executed successfully before this exception occurred.
VMWare.Data.SQLFire.SQLFClientConnection
VMWare.Data.SQLFire.SQLFClientConnection establishes connections to SQLFire locators or servers using
the Network client driver.
It provides the same functionality as the JDBC URL scheme 'jdbc:sqlre://'. This class implements ADO.NET's
System.Data.IDbConnection interface and extends the abstract System.Data.Common.DbConnection class. It
has SQLFConnection class as its abstract base that will be used for other SQLFire connection types that may be
provided in future.
Constructors on page 666
665