Beispiel #1
0
 /// <summary>
 /// Asynchronously inserts all the given rows of data into this table.
 /// This method just creates a <see cref="TableReference"/> and delegates to <see cref="BigQueryClient.InsertRowsAsync(TableReference, IEnumerable{BigQueryInsertRow}, InsertOptions, CancellationToken)"/>.
 /// </summary>
 /// <param name="rows">The rows to insert. Must not be null or contain null entries.</param>
 /// <param name="options">The options for the operation. May be null, in which case defaults will be supplied.</param>
 /// <param name="cancellationToken">The token to monitor for cancellation requests.</param>
 /// <returns>A task representing the asynchronous operation.</returns>
 public Task InsertRowsAsync(IEnumerable <BigQueryInsertRow> rows, InsertOptions options = null, CancellationToken cancellationToken = default) =>
 _client.InsertRowsAsync(Reference, rows, options, cancellationToken);