Using Entity Framework with an SSAS Cube

落爺英雄遲暮 提交于 2019-11-29 08:48:36

问题


Is it possible to use Entity Framework (any version, including, and preferably 4.0) to query an SSAS cube (preferably SSAS 2008)?


回答1:


I would say no. There's a few questions on here looking for that, asking for the ORM equivalent for SSAS and such. LINQ to MDX would be lovely, but so far as is known it's just not on the cards.

I've been looking and pondering for years for something simple in code to get data back to the middle tier, but I've never found it. Things like AdomdDataReader and CellSet are OK, but require hand-written MDX, there's no easy way around it.

Sorry for the bad news, if anyone can prove me wrong I'd be overjoyed :/




回答2:


Yes, now it is possible to use EF 4.0-4.1 to query SQL Server Analysis Services 2008 OLAP cubes (it is something like LINQ to MDX / SSAS). You will need to install SSAS Entity Framework Provider (tm) to enable that. You can checkout and request SSAS Entity Framework Provider here:

http://www.agiledesignllc.com/Products.htm

Disclosure: I work for Agile Design LLC - the company who offers this product.



来源:https://stackoverflow.com/questions/2233839/using-entity-framework-with-an-ssas-cube

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!