/// <summary> /// Initializes a new instance of the MdxDataAdapter class with the specified MdxCommand and MdxConnection. /// </summary> /// <param name="selectCommandText">The MDX statement to be used by the MdxDataAdapter.SelectCommand property.</param> /// <param name="selectConnection">An MdxConnection representing the connection.</param> public MdxDataAdapter(string selectCommandText, MdxConnection selectConnection) { MdxCommand command = new MdxCommand(selectCommandText); command.Connection = selectConnection; SelectCommand = command; }
/// <summary> /// Initializes a new instance of the MdxDataAdapter class with the specified MdxCommand. /// </summary> /// <param name="selectCommandText">An MdxCommand to be used by the MdxDataAdapter.SelectCommand property.</param> public MdxDataAdapter(MdxCommand selectCommand) { this.SelectCommand = selectCommand; }