Paul Xu

I'm just thinking about Expression serializable in C#3.0, if it is we can pass the expression through web service and apply on distribution system.

So anyone could give me an answer or any one did that kind test

Paul




Re: LINQ Project General Does expression object serializable?

Matt Warren - MSFT

No, LINQ Expressions are not serializable. You'll have to invent your own serialization logic for them.




Re: LINQ Project General Does expression object serializable?

Pascal Schaefer

Hi Paul

I'm working on a project for serializing queries and sending them through the network using WCF.
It works quite well and i plan to make it opensource but sourceforge is not that fast :-).

http://linqtowcf.sourceforge.net

Pascal






Re: LINQ Project General Does expression object serializable?

Dany L.

Hi Pascal,

I'm very interested on serializing a linq for sql query and sending it to a wcf web service. I was actually in the process of implementing my own solution for this. Can you post some feedback on this thread when your project will be online.


Thanks.

Dany.





Re: LINQ Project General Does expression object serializable?

Aaron Erickson

I am working on something like this in MetaLinq - which should allow you to do binary serialization now with some minor mods to the source (I am working on XML serialization towards the end of the year). This might give you a head start for what you are trying to do.





Re: LINQ Project General Does expression object serializable?

Paul Xu

Thanks guys!!

I think Expression doesn't support serialization right now, but I agree Matt point, I could create own method or object to serialize the Expression.

Anyway, I will give it a go....






Re: LINQ Project General Does expression object serializable?

Pascal Schaefer

Hi Paul

Today, I published the first version of InterLINQ, a framework to send expression over network.

http://www.codeplex.com/interlinq

Soon, I'll publish some examples with Linq to NHibernate.

Pascal