C# Class MdxClient.MdxDataAdapter

Represents a set of data commands and a database connection that are used to fill the System.Data.DataSet and update a SQL Server Analysis Services database.
Inheritance: System.Data.Common.DbDataAdapter, IDbDataAdapter, IDataAdapter
Afficher le fichier Open project: DynamicTyped/MdxClient Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
MdxDataAdapter ( ) : System

Initializes a new instance of the MdxDataAdapter class.

MdxDataAdapter ( MdxCommand selectCommand ) : System

Initializes a new instance of the MdxDataAdapter class with the specified MdxCommand.

MdxDataAdapter ( string selectCommandText, MdxConnection selectConnection ) : System

Initializes a new instance of the MdxDataAdapter class with the specified MdxCommand and MdxConnection.

MdxDataAdapter ( string selectCommandText, string selectConnectionString ) : System

Initializes a new instance of the MdxDataAdapter class with the specified MdxCommand and MdxConnection.

Update ( DataSet dataSet ) : int

Méthodes protégées

Méthode Description
CreateRowUpdatedEvent ( DataRow dataRow, IDbCommand command, StatementType statementType, DataTableMapping tableMapping ) : RowUpdatedEventArgs
CreateRowUpdatingEvent ( DataRow dataRow, IDbCommand command, StatementType statementType, DataTableMapping tableMapping ) : RowUpdatingEventArgs
OnRowUpdated ( RowUpdatedEventArgs value ) : void
OnRowUpdating ( RowUpdatingEventArgs value ) : void
Update ( DataRow dataRows, DataTableMapping tableMapping ) : int

Method Details

CreateRowUpdatedEvent() protected méthode

protected CreateRowUpdatedEvent ( DataRow dataRow, IDbCommand command, StatementType statementType, DataTableMapping tableMapping ) : RowUpdatedEventArgs
dataRow System.Data.DataRow
command IDbCommand
statementType StatementType
tableMapping System.Data.Common.DataTableMapping
Résultat System.Data.Common.RowUpdatedEventArgs

CreateRowUpdatingEvent() protected méthode

protected CreateRowUpdatingEvent ( DataRow dataRow, IDbCommand command, StatementType statementType, DataTableMapping tableMapping ) : RowUpdatingEventArgs
dataRow System.Data.DataRow
command IDbCommand
statementType StatementType
tableMapping System.Data.Common.DataTableMapping
Résultat System.Data.Common.RowUpdatingEventArgs

MdxDataAdapter() public méthode

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

MdxDataAdapter() public méthode

Initializes a new instance of the MdxDataAdapter class with the specified MdxCommand.
public MdxDataAdapter ( MdxCommand selectCommand ) : System
selectCommand MdxCommand
Résultat System

MdxDataAdapter() public méthode

Initializes a new instance of the MdxDataAdapter class with the specified MdxCommand and MdxConnection.
public MdxDataAdapter ( string selectCommandText, MdxConnection selectConnection ) : System
selectCommandText string The MDX statement to be used by the MdxDataAdapter.SelectCommand property.
selectConnection MdxConnection An MdxConnection representing the connection.
Résultat System

MdxDataAdapter() public méthode

Initializes a new instance of the MdxDataAdapter class with the specified MdxCommand and MdxConnection.
public MdxDataAdapter ( string selectCommandText, string selectConnectionString ) : System
selectCommandText string The MDX statement to be used by the MdxDataAdapter.SelectCommand property.
selectConnectionString string The connection string.
Résultat System

OnRowUpdated() protected méthode

protected OnRowUpdated ( RowUpdatedEventArgs value ) : void
value System.Data.Common.RowUpdatedEventArgs
Résultat void

OnRowUpdating() protected méthode

protected OnRowUpdating ( RowUpdatingEventArgs value ) : void
value System.Data.Common.RowUpdatingEventArgs
Résultat void

Update() protected méthode

protected Update ( DataRow dataRows, DataTableMapping tableMapping ) : int
dataRows System.Data.DataRow
tableMapping System.Data.Common.DataTableMapping
Résultat int

Update() public méthode

public Update ( DataSet dataSet ) : int
dataSet System.Data.DataSet
Résultat int