How to deal with the limited Linq support of OData (Open Data Protocol)
I have a software, which uses a lot of Linq-to-SQL. Recently, I want to migrate to OData / WCF Data S开发者_运维百科ervice architecture. But I met too many problems in the Linq support of OData - it is so limited. I have to modify most of my Linq statements and test them thoroughly again.
I am wondering whether there is a system way to solve such a problem instead of my manual work. For example, by an external package.
BTW, now I have no confidence to use OData as a kind of architecture.
You are appreciated to share your ideas.
Thank you in advance,
Ying
You may want to look more into WCF (without the 'Data' part) Services which can be exposed through a very wide variety of end points REST / SOAP endpoints for a WCF service. WCF Data Services are more specific to the single goal of exposing an Entity Data Model via OData which is not very ideal for direct back-end communication.
An alternative would be to use a WCF service that takes a serialized LINQ expression
http://interlinq.codeplex.com/
精彩评论