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

SQL Anywhere 11.0.1 (Français) » UltraLite - .NET Programming » UltraLite .NET 2.0 API reference » ULBulkCopy class

 

ULBulkCopy members

Public constructors
Member name Description

ULBulkCopy constructors

Initializes a ULBulkCopy object with the specified ULConnection.

Public properties
Member name Description

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 name Description

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 name Description

ULRowsCopied event

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

See also