C# Класс DevExpress.DataAccess.BigQuery.BigQueryConnection

Represents a connection to BigQuery.
Наследование: System.Data.Common.DbConnection, ICloneable
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
CheckDisposed void
CheckOpen void
CreateServiceAsync Task
GetDataObjectNames string[]
ICloneable object
InitializeServiceAsync Task

Открытые методы

Метод Описание
BigQueryConnection ( ) : System

Initializes a new instance of the BigQueryConnection class with default settings.

BigQueryConnection ( string connectionString ) : System

Initializes a new instance of the BigQueryConnection class with the specified connection string.

ChangeDatabase ( string databaseName ) : void

Changes the database for the current connection.

Close ( ) : void

Closes the current data connection.

CreateCommand ( ) : BigQueryCommand

Creates a new BigQuery command associated with the current data connection.

GetDataSetNames ( ) : string[]

Returns a list of datasets available in the current Google Cloud Platform project.

GetTableNames ( ) : string[]

Returns a list of tables available in the current BigQuery dataset.

GetViewNames ( ) : string[]

Returns a list of views available in the current BigQuery dataset.

Open ( ) : void

Opens a data connection.

OpenAsync ( CancellationToken cancellationToken ) : Task

Asynchronously opens a data connection.

Защищенные методы

Метод Описание
BeginDbTransaction ( IsolationLevel isolationLevel ) : DbTransaction
CreateDbCommand ( ) : DbCommand
Dispose ( bool disposing ) : void

Приватные методы

Метод Описание
CheckDisposed ( ) : void
CheckOpen ( ) : void
CreateServiceAsync ( CancellationToken cancellationToken ) : Task
GetDataObjectNames ( string type ) : string[]
ICloneable ( ) : object
InitializeServiceAsync ( CancellationToken cancellationToken ) : Task

Описание методов

BeginDbTransaction() защищенный Метод

protected BeginDbTransaction ( IsolationLevel isolationLevel ) : DbTransaction
isolationLevel IsolationLevel
Результат System.Data.Common.DbTransaction

BigQueryConnection() публичный Метод

Initializes a new instance of the BigQueryConnection class with default settings.
public BigQueryConnection ( ) : System
Результат System

BigQueryConnection() публичный Метод

Initializes a new instance of the BigQueryConnection class with the specified connection string.
public BigQueryConnection ( string connectionString ) : System
connectionString string A System.String specifying a connection string.
Результат System

ChangeDatabase() публичный Метод

Changes the database for the current connection.
public ChangeDatabase ( string databaseName ) : void
databaseName string A System.String value specifying the database name.
Результат void

Close() публичный Метод

Closes the current data connection.
public Close ( ) : void
Результат void

CreateCommand() публичный Метод

Creates a new BigQuery command associated with the current data connection.
public CreateCommand ( ) : BigQueryCommand
Результат BigQueryCommand

CreateDbCommand() защищенный Метод

protected CreateDbCommand ( ) : DbCommand
Результат System.Data.Common.DbCommand

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

GetDataSetNames() публичный Метод

Returns a list of datasets available in the current Google Cloud Platform project.
public GetDataSetNames ( ) : string[]
Результат string[]

GetTableNames() публичный Метод

Returns a list of tables available in the current BigQuery dataset.
public GetTableNames ( ) : string[]
Результат string[]

GetViewNames() публичный Метод

Returns a list of views available in the current BigQuery dataset.
public GetViewNames ( ) : string[]
Результат string[]

Open() публичный Метод

Opens a data connection.
public Open ( ) : void
Результат void

OpenAsync() публичный Метод

Asynchronously opens a data connection.
public OpenAsync ( CancellationToken cancellationToken ) : Task
cancellationToken System.Threading.CancellationToken A cancellation token that can be used to cancel opening a data connection.
Результат Task