MySqlConnector


MySqlBulkLoader.LoadAsync method (1 of 2)

Asynchronously loads all data in the source file or stream into the destination table.

public Task<int> LoadAsync()

Return Value

A Task that will be completed with the number of rows inserted.

See Also


MySqlBulkLoader.LoadAsync method (2 of 2)

Asynchronously loads all data in the source file or stream into the destination table.

public Task<int> LoadAsync(CancellationToken cancellationToken)
parameterdescription
cancellationTokenA token to cancel the asynchronous operation.

Return Value

A Task that will be completed with the number of rows inserted.

See Also