Represents a connection to BigQuery.
Inheritance: System.Data.Common.DbConnection, ICloneable
 /// <summary>
 /// Initializes a new instance of the BigQueryCommand class with the specified command text and connection settings.
 /// </summary>
 /// <param name="commandText">A System.String values specifying the text of a SQL statement.</param>
 /// <param name="connection">A BigQueryConnection object.</param>
 public BigQueryCommand(string commandText, BigQueryConnection connection)
     : this(commandText) {
     Connection = connection;
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the BigQueryCommand class with the specified command text and connection settings.
 /// </summary>
 /// <param name="commandText">A System.String values specifying the text of a SQL statement.</param>
 /// <param name="connection">A BigQueryConnection object.</param>
 public BigQueryCommand(string commandText, BigQueryConnection connection)
     : this(commandText) {
     Connection = connection;
 }
 /// <summary>
 /// Initializes a new instance of the BigQueryDataAdapter class.
 /// </summary>
 /// <param name="selectCommandText">The text of a command used to obtain rows from a BigQuery data table.</param>
 /// <param name="connection">A BigQueryConnection object specifying an active connection to BigQuery.</param>
 public BigQueryDataAdapter(string selectCommandText, BigQueryConnection connection) : this(new BigQueryCommand(selectCommandText, connection))
 {
 }
 /// <summary>
 /// Initializes a new instance of the BigQueryDataAdapter class.
 /// </summary>
 /// <param name="selectCommandText">The text of a command used to obtain rows from a BigQuery data table.</param>
 /// <param name="connection">A BigQueryConnection object specifying an active connection to BigQuery.</param>
 public BigQueryDataAdapter(string selectCommandText, BigQueryConnection connection)
     : this(new BigQueryCommand(selectCommandText, connection))
 {
 }