Exemplo n.º 1
0
 /// <summary>
 /// Creates a job to copy data from this table to another.
 /// This method just creates a <see cref="TableReference"/> and delegates to <see cref="BigQueryClient.CreateCopyJob(TableReference, TableReference, CreateCopyJobOptions)"/>.
 /// </summary>
 /// <remarks>
 /// This method only allows one table (this one) to be used as the source table. To copy multiple tables to one destination table,
 /// use <see cref="BigQueryClient.CreateCopyJob(IEnumerable{TableReference}, TableReference, CreateCopyJobOptions)"/>.
 /// </remarks>
 /// <param name="destination">The destination table to copy to. Must not be null.</param>
 /// <param name="options">The options for the operation. May be null, in which case defaults will be supplied.</param>
 /// <returns>The job created for the copy operation.</returns>
 public BigQueryJob CreateCopyJob(TableReference destination, CreateCopyJobOptions options = null) =>
 _client.CreateCopyJob(Reference, destination, options);