I've a WF Service using my EDMX and my Classes generated using a poco t4 template, but on execution when i include navigation properties related to a 1 to many or many to many relationships i got an underlying connection was closed error. I've traced
the error and i got 2 exceptions different exceptions depending on which parameters i pass to my context and my ReciveAndSendReply Action.
One is the related to that Navigation Property and the fact that it is generating a cyclic reference A.B B.List<A> or viceversa and cant be serialized.
The other changing my context property to enabling/disabling the proxy creation i get a overflow on the max message size or max message on the trace (the cyclic reference is doing an overflow and the entity back from the WF service is not coming back.
Hope you can help me guys to figure out whats going on.
View Complete Post