C# Class DevExpress.DataAccess.BigQuery.BigQueryConnection

Represents a connection to BigQuery.
Inheritance: System.Data.Common.DbConnection, ICloneable
Afficher le fichier Open project: DevExpress/BigQueryProvider Class Usage Examples

Private Properties

Свойство Type Description
CheckDisposed void
CheckOpen void
CreateServiceAsync Task
GetDataObjectNames string[]
ICloneable object
InitializeServiceAsync Task

Méthodes publiques

Méthode Description
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.

Méthodes protégées

Méthode Description
BeginDbTransaction ( IsolationLevel isolationLevel ) : DbTransaction
CreateDbCommand ( ) : DbCommand
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
CheckDisposed ( ) : void
CheckOpen ( ) : void
CreateServiceAsync ( CancellationToken cancellationToken ) : Task
GetDataObjectNames ( string type ) : string[]
ICloneable ( ) : object
InitializeServiceAsync ( CancellationToken cancellationToken ) : Task

Method Details

BeginDbTransaction() protected méthode

protected BeginDbTransaction ( IsolationLevel isolationLevel ) : DbTransaction
isolationLevel IsolationLevel
Résultat System.Data.Common.DbTransaction

BigQueryConnection() public méthode

Initializes a new instance of the BigQueryConnection class with default settings.
public BigQueryConnection ( ) : System
Résultat System

BigQueryConnection() public méthode

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.
Résultat System

ChangeDatabase() public méthode

Changes the database for the current connection.
public ChangeDatabase ( string databaseName ) : void
databaseName string A System.String value specifying the database name.
Résultat void

Close() public méthode

Closes the current data connection.
public Close ( ) : void
Résultat void

CreateCommand() public méthode

Creates a new BigQuery command associated with the current data connection.
public CreateCommand ( ) : BigQueryCommand
Résultat BigQueryCommand

CreateDbCommand() protected méthode

protected CreateDbCommand ( ) : DbCommand
Résultat System.Data.Common.DbCommand

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

GetDataSetNames() public méthode

Returns a list of datasets available in the current Google Cloud Platform project.
public GetDataSetNames ( ) : string[]
Résultat string[]

GetTableNames() public méthode

Returns a list of tables available in the current BigQuery dataset.
public GetTableNames ( ) : string[]
Résultat string[]

GetViewNames() public méthode

Returns a list of views available in the current BigQuery dataset.
public GetViewNames ( ) : string[]
Résultat string[]

Open() public méthode

Opens a data connection.
public Open ( ) : void
Résultat void

OpenAsync() public méthode

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.
Résultat Task