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;
 }