CubeDataSource
Represents an OLAP cube to data items.
Definition
Namespace:Telerik.Reporting
Assembly:Telerik.Reporting.dll
Syntax:
public class CubeDataSource : DataSource, IDataSource
Inheritance: objectMarshalByRefObjectComponentDataSourceCubeDataSource
Implements:
Inherited Members
Constructors
Initializes a new instance of the CubeDataSource class.
public CubeDataSource()
Initializes a new instance of the CubeDataSource class.
public CubeDataSource(string connectionString, string selectCommand)
Specifies the connection string used to connect to the OLAP database.
selectCommandstringSpecifies the MDX select statement to execute against the OLAP cube.
Properties
ConnectionString
string
Gets or sets the connection string used to connect to the OLAP database.
public string ConnectionString { get; set; }
The ConnectionString property contains a valid connection string or a name of a ConnectionStringSettings in the application's configuration file.
Gets a collection with DataFieldMapping objects.
public DataFieldMappingCollection Mappings { get; }
The Mappings collection is used to map the names of the data source fields to the actual fields returned when executing the MDX select statement.
Gets a collection with CubeDataSourceParameter objects.
public CubeDataSourceParameterCollection Parameters { get; }
The Parameters collection is used to pass named parameters when executing a parameterized MDX select statement against the OLAP cube.
SelectCommand
string
Gets or sets the MDX select statement to execute against the OLAP cube.
public string SelectCommand { get; set; }