"ck1" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
>> What do you mean by "better serialization"? No meaning I can think of
>> makes any sense in this context.
>
> I have try to use a gateway in order to take the result of the Assembly.
>
> The gateway is Weborb:
> http://www.themidnightcoders.com/weborb/
>
> But when i try to get some result complex, like a Order that have more
> OrderDetail, i receive an error (cpu at 100%).
>
> If i disable the OrderDetail relation, all work fine.
>
> I have found that is't a serializzation problem:
> with Linq to Sql all work fine.
>
> With Entity Framework, cpu at 100% and error "serializzation".
I'm still confused. Are you trying to take an object graph consisting of EF
entities, and serialize it to XML (perhaps implicitly by using some
framework that exposes it via a Web Service)? If so, you might want to share
details regarding the error message that you get - it might be just a
misconfiguration issue.
On a side note, to conveniently access EF models from client-side
JavaScript, can use ADO.NET Data Services - that's precisely what it is
about.