Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » UltraLite - .NET Programming » UltraLite .NET 2.0 API Reference » ULBulkCopy class

ULBulkCopy class Next Page

ULBulkCopy members

Public constructors
Member nameDescription

ULBulkCopy constructors

Initializes a ULBulkCopy object with the specified ULConnection.

Public properties
Member nameDescription

BatchSize property

Gets or sets the number of rows in each batch. At the end of each batch, the rows in the batch are sent to the server.

BulkCopyTimeout property

Gets or sets the number of seconds for the operation to complete before it times out.

ColumnMappings property

Returns a collection of ULBulkCopyColumnMapping items. Column mappings define the relationships between columns in the data source and columns in the destination.

DestinationTableName property

Gets or sets the name of the destination table on the server.

NotifyAfter property

Specifies the number of rows to be processed before generating a notification event.

Public methods
Member nameDescription

Close method

Closes the ULBulkCopy instance.

Dispose method

Disposes of the ULBulkCopy instance.

WriteToServer methods

Copies all rows in the supplied array of System.Data.DataRow objects to a destination table specified by the DestinationTableName field of the ULBulkCopy object.

Public events
Member nameDescription

ULRowsCopied event

This event occurs every time the number of rows specified by NotifyAfter have been processed.

See also