
| Visual Basic (Declaration) | |
|---|---|
Public NotInheritable Class LocalCubeDataSource Inherits DataSourceBase Implements IDataSource, IPersistLocalCube, IPersistXmlSettings, GrapeCity.ActiveAnalysis.Schema.ISchemaFactoryProvider | |
| C# | |
|---|---|
public sealed class LocalCubeDataSource : DataSourceBase, IDataSource, IPersistLocalCube, IPersistXmlSettings, GrapeCity.ActiveAnalysis.Schema.ISchemaFactoryProvider | |
ActiveAnalysis allows to save currently analyzed data to local cube files. These files can be later loaded for analysis without a connection to the source database. You can create a local cube using the IPersistLocalCube.SaveLocalCube method. To analyze a previously saved local cube you should use the
LocalCubeDataSource class.
The following code sample demonstrates how to load a previously saved local cube.
| C# | Copy Code |
|---|---|
LocalCubeDataSource localCube = new LocalCubeDataSource(); localCube.LocalCubeFile = "NwindLocalCube.ddacube"; localCube.Connect(); pivotView.DataSource = localCube; | |
System.Object
GrapeCity.ActiveAnalysis.DataSources.DataSourceBase
GrapeCity.ActiveAnalysis.DataSources.LocalCubeDataSource
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2