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
Mostra file Open project: DynamicTyped/MdxClient Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method 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

Protected Methods

Method 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 method

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

CreateRowUpdatingEvent() protected method

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

MdxDataAdapter() public method

Initializes a new instance of the MdxDataAdapter class.
public MdxDataAdapter ( ) : System
return System

MdxDataAdapter() public method

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

MdxDataAdapter() public method

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.
return System

MdxDataAdapter() public method

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.
return System

OnRowUpdated() protected method

protected OnRowUpdated ( RowUpdatedEventArgs value ) : void
value System.Data.Common.RowUpdatedEventArgs
return void

OnRowUpdating() protected method

protected OnRowUpdating ( RowUpdatingEventArgs value ) : void
value System.Data.Common.RowUpdatingEventArgs
return void

Update() protected method

protected Update ( DataRow dataRows, DataTableMapping tableMapping ) : int
dataRows System.Data.DataRow
tableMapping System.Data.Common.DataTableMapping
return int

Update() public method

public Update ( DataSet dataSet ) : int
dataSet System.Data.DataSet
return int