Represents an MDX statement to execute against a SQL Server Analysis Services database.
Наследование: System.Data.Common.DbCommand
Пример #1
0
        /// <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;
        }
Пример #2
0
 /// <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;
 }
Пример #3
0
 /// <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;
 }
Пример #4
0
 /// <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;
 }