Examples for usage of Interlinq and L2E

Jan 9, 2008 at 10:38 AM
Edited Jan 9, 2008 at 10:39 AM
Hi Dom

Are you able to provide complete examples of both client and server code to connect to a Linq to Entities ObjectContext, then serialize the expression tree in a WCF method and then show client code to get at the Expression tree. I am having difficulty understanding the plumbing for the example listed earlier in the discussion.
Feb 15, 2008 at 10:45 PM
Hi mark

Have you allready seen our simple sample, located in the source code?
If you understand what is going on there, you can replace the code line 20 to 35 on the server main method by the following code:

IQueryHandler queryHandler = new ObjectQueryHandler( <<<<yourObjectSource>>>> );

<<<<yourObjectSource>>>> means the ObjectSource of your Entitys.

Further questions -> feel free to ask...


Feb 19, 2008 at 4:14 PM
Edited Feb 19, 2008 at 4:20 PM
Do you mean new EntityFrameworkQueryHandler passing in my ObjectContext to the constructor?
Mar 15, 2008 at 11:18 AM
How can I use InterLINQ in a WCF service hosted in IIS.
Can anyone help me please. I'm a little bit confused.