2009-06-16 8 views

Respuesta

3

La respuesta es definitivamente no. Si toma el Marco de la Entidad koolaid, creerá que si comienza a usar EF ahora (en lugar de linq2sql) obtendrá OLAP/BI gratis en el futuro.

+0

Lo sospechaba mucho. Preguntado más con esperanza que nada :( – Stuart

0

creo que tendrían que añadir más de un par de nuevos operadores y métodos para LINQ antes de que pudieran soportar incluso un subconjunto significativo de MDX:

WITH SET c0 AS 'HIERARCHIZE({[Measures].[Internet Sales Amount], [Measures].[Internet Gross Profit], [Measures].[Reseller Gross Profit], [Measures].[Average Sales Amount], [Measures].[Gross Profit]})' 
SET r0_1 AS 'HIERARCHIZE(Filter(Filter({[Customer].[Customer Geography].[All Customers], AddCalculatedMembers(DESCENDANTS([Customer].[Customer Geography].[All Customers], 1))}, NOT [Customer].[Customer Geography].currentmember.parent is [Customer].[Customer Geography].[All Customers] OR vba!ucase(left([Customer].[Customer Geography].currentmember.properties("CAPTION"),1)) = "u"), NOT [Customer].[Customer Geography].currentmember.level is [Customer].[Customer Geography].[Country] OR vba!ucase(left([Customer].[Customer Geography].currentmember.properties("CAPTION"),1)) = "u"))' 
SELECT NON EMPTY {[c0]} 
ON COLUMNS, NON EMPTY VISUALTOTALS(FILTER({[r0_1]} 
,vba!ucase(right([Customer].[Customer Geography].currentmember.properties("CAPTION"),8)) = "SUBTOTAL" OR [Measures].[Internet Gross Profit] > 80000) 
, "* SUBTOTAL") ON ROWS FROM [Adventure Works] 
CELL PROPERTIES VALUE, FORMATTED_VALUE, FORMAT_STRING, FORE_COLOR, BACK_COLOR 
5

Sí, ahora es posible usar LINQ para MDX/SSAS. Necesitará Microsoft ADO.NET Entity Framework 4.0-4.1 (EF) junto con SSAS Entity Framework Provider (tm) para habilitar eso. Proveedor de SSAS Entity Framework traducirá LINQ en MDX. El proveedor EF + SSAS Entity Framework le permitirá consultar cubos OLAP de SQL Server Analysis Services (SSAS).

Usted puede pagar y petición Proveedor de SSAS Entity Framework aquí: http://www.agiledesignllc.com/Products.htm

Revelación: Yo trabajo para Agile Design LLC - la compañía que ofrece este producto.

Cuestiones relacionadas