Ssas 不使用SSA以编程方式生成脱机OLAP多维数据集

Ssas 不使用SSA以编程方式生成脱机OLAP多维数据集,ssas,olap-cube,Ssas,Olap Cube,我想知道如何在不使用analysis services的情况下使用任何关系数据源在c#中以编程方式生成olap多维数据集。一个具体的例子(我在网上找不到的东西)将不胜感激 您可以使用C#和分析管理对象以编程方式创建多维数据集: // Create the Adventure Works cube Cube cube = db.Cubes.FindByName("Adventure Works"); if (cube != null)

我想知道如何在不使用analysis services的情况下使用任何关系数据源在c#中以编程方式生成olap多维数据集。一个具体的例子(我在网上找不到的东西)将不胜感激

您可以使用C#和分析管理对象以编程方式创建多维数据集:

        // Create the Adventure Works cube
        Cube cube = db.Cubes.FindByName("Adventure Works");
        if (cube != null)
           cube.Drop();
        db.Cubes.Add("Adventure Works");