PSQL Common Assembly Classes
The PSQL ADO.NET Data Provider supports additional classes that provide enhanced functionality, such as bulk load. All classes are created with 100% managed code. The following classes are provided in the Pervasive.Data.Common.dll assembly:
The classes used for bulk loading implement the generic programming model. They can be used with any DataDirect Technologies ADO.NET data provider or ODBC driver that supports PSQL Bulk Load and any supported database.
CsvDataReader
The CsvDataReader class provides the DataReader semantics for the CSV file format defined by PSQL Bulk Load.
Table 45 lists the public properties for the CsvDataWriter object.
 
Table 46 lists the public methods for the CsvDataReader object.
 
CsvDataWriter
The CsvDataWriter class provides the DataWriter semantics of the CSV file format that is written by PSQL Bulk Load.
For more information, refer to the data provider’s online help.
Table 47 lists the public properties for the CsvDataWriter object.
 
Table 48 lists the public methods for the CsvDataWriter object.
 
DbBulkCopy
The DbBulkCopy class facilitates copying rows from one data source to another.
The DbBulkCopy object follows the de facto standard defined by the Microsoft SqlBulkCopy class, and has no provider-specific properties or methods. For information about the properties and methods supported, refer to the data provider’s online help and the Microsoft .NET Framework SDK documentation.
DbBulkCopyColumnMapping
The DbBulkCopyColumnMapping class represents a column mapping from the data sources table to a destination table.
The DbBulkCopyColumnMapping object follows the de facto standard defined by the Microsoft SqlBulkCopyColumnMapping class, and has no provider-specific properties or methods. For information about the properties and methods supported, refer to the data provider’s online help and the Microsoft .NET Framework SDK documentation.
DbBulkCopyColumnMappingCollection
The DbBulkCopyColumnMappingCollection class is a collection of DbBulkCopyColumnMapping objects.
The DbBulkCopyColumnMappingCollection object follows the de facto standard defined by the Microsoft SqlBulkCopyColumnMappingCollection class, and has no provider-specific properties or methods. For information about the properties and methods supported, refer to the data provider’s online help and the Microsoft .NET Framework SDK documentation.