C# Class MdxClient.MdxConnection

Represents an open connection to a SQL Server Analysis Services database.
Inheritance: System.Data.Common.DbConnection
Afficher le fichier Open project: DynamicTyped/MdxClient Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
ChangeDatabase ( string databaseName ) : void

Changes the current database for an open MdxConnection.

Close ( ) : void

Closes the connection to the database.

CreateCommand ( ) : MdxCommand
MdxConnection ( ) : System

Initializes a new instance of the MdxConnection class.

MdxConnection ( string connectionString ) : System

Initializes a new instance of the MdxConnection class when given a string that contains the connection string.

Open ( ) : void

Opens a database connection with the property settings specified by the connection string.

Méthodes protégées

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

Method Details

BeginDbTransaction() protected méthode

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

ChangeDatabase() public méthode

Changes the current database for an open MdxConnection.
public ChangeDatabase ( string databaseName ) : void
databaseName string
Résultat void

Close() public méthode

Closes the connection to the database.
public Close ( ) : void
Résultat void

CreateCommand() public méthode

public CreateCommand ( ) : MdxCommand
Résultat MdxCommand

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

MdxConnection() public méthode

Initializes a new instance of the MdxConnection class.
public MdxConnection ( ) : System
Résultat System

MdxConnection() public méthode

Initializes a new instance of the MdxConnection class when given a string that contains the connection string.
public MdxConnection ( string connectionString ) : System
connectionString string The connection used to open the SQL Server Analysis Services database. ///
Résultat System

Open() public méthode

Opens a database connection with the property settings specified by the connection string.
public Open ( ) : void
Résultat void