WCF Data Services and EF4.0 with dotConnect to Oracle issue

Discussion of open issues, suggestions and bugs regarding Entity Framework support in ADO.NET Data providers
Post Reply
vajarov
Posts: 13
Joined: Mon 19 Jul 2010 18:03

WCF Data Services and EF4.0 with dotConnect to Oracle issue

Post by vajarov » Mon 19 Jul 2010 19:04

Here is my situation:

I am using EF4.0 with dotConnect to Oracle and have a simple star schema model. The model is exposed via Wcf Data Service (oData).

I can successfully browse my entities via the web browser. I can find a single entity that I am interested in and using the generated link traverse all related entities.

However, If I create a separate project (say WPF) and attempt to use Linq syntax, I get a NotSupported exception if using the Entity.Expand("RelatedEntity") notation. If I opt for the LoadProperty Method things seem to work.

Can anyone address this issue please?

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Wed 21 Jul 2010 11:44

Could you please send us (support * devart * com, subject "EF4 OData Expand") a small test project illustrating the issue? It will speed up our investigation.

Post Reply