RadarSoft.RadarCube.Web.MSAS Send comments on this topic.
TOLAPCube Constructor
See Also 
RadarSoft.RadarCube.Web Namespace > TOLAPCube Class : TOLAPCube Constructor




Creates and initializes a new TOLAPCube object.

Syntax

Visual Basic (Declaration) 
Public Function New()
Visual Basic (Usage)Copy Code
Dim instance As New TOLAPCube()
C# 
public TOLAPCube()
Managed Extensions for C++ 
public: TOLAPCube();
C++/CLI 
public:
TOLAPCube();

Remarks

The component reads data for a cube from the data schema, which can be specified with DataSet property. Note, that in DataSet, not only tables, but their relations as well, should be defined. It doesn't matter how complex the original structure of the DataSet is. For example, you can use the "Snowflake" schema without gathering all the dimension fields into a single fact table.

TOLAPCube component requires either DataSet object or a class name of a typed dataset as a data source. If you provide the cube with a dataset type, not with an object, a dataset object will be created automatically so you won't need to create it yourself.

Assigning a data source is not enough to open a cube, you'll also have to describe its MetaData (the cube structure). In Designtime you can do that with the Cube Manager. But in run time you'll have to fill them yourself before opening the cube. (See the article named "Creating the Cube in Run Time" for details.)

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2010 Radar-Soft, L.L.C. All Rights Reserved.