1.1

Table Of Contents
.NET object typeSystem.Data.DbTypeSQLFTypeSQL type
byte[]BinaryBlobBLOB
stringStringCharCHAR
byte[]BinaryBinaryCHAR FOR BIT DATA
stringStringClobCLOB
System.DateTime (use Date
property to get the date portion)
DateDateDATE
decimalDecimalDecimalDECIMAL
doubleDoubleDoubleDOUBLE
doubleDoubleDoubleDOUBLE PRECISION
doubleDoubleFloatFLOAT
intInt32IntegerINTEGER
stringStringLongVarCharLONG VARCHAR
byte[]BinaryLongVarBinaryLONG VARCHAR FOR BIT
DATA
decimalDecimalNumericNUMERIC
oatSingleRealREAL
shortInt16ShortSMALLINT
System.DateTime (use
TimeOfDay property to get the
time portion)
TimeTimeTIME
System.DateTimeDateTimeTimeStampTIMESTAMP
stringStringVarCharVARCHAR
byte[]BinaryVarBinaryVARCHAR FOR BIT DATA
StringXML on page 614XML on page 614XML
VMware.Data.SQLFire.SQLFDataAdapter
VMware.Data.SQLFire.SQLFData Adapter provides a bridge between a System.Data.DataSet and the
underlying data in a SQLFire system.
This class implements ADO.NETs System.Data.IDbDataAdapter interface and extends the base
System.Data.Common.DbDataAdapter abstract class. The Fill method populates the DataSet with data in the
SQLFire system by using the SQLFCommand set in SelectCommand. The Update method does the reverse and
applies any changes done in the DataSet to the SQLFire system. It requires an associated
VMware.Data.SQLFire.SQLFCommandBuilder to accomplish this.
Typically, you rst associate a select SQL command with a SQLFDataAdapter, and populate a DataSet or
DataTable with the Fill method of this DataAdapter. Then you associate an SQLFCommandBuilder with the
DataAdapter to track all updates and generate corresponding SQL commands. Then an application can make
changes to the DataSet or DataTable as required. You apply the changes to the underlying table in the SQLFire
system by invoking the Update command of the DataAdapter of the DataSet/DataTable.
You can use the UpdateBatchSize property to set a batch size for applying the changes. The underlying SQL
command strings generated by the SQLFCommandBuilder all use parameters with values as set in the
DataSet/DataTable. Consequently batching is a best effort where consecutively generated SQL strings are part
of a single batch (up to the provided UpdateBatchSize) if they are the same SQL string. The mechanism described
in the section Batch operations using SQLFCommand for prepared SQLFCommands also applies for this case.
677
ADO.NET Driver Reference