EntityCollection<T> and .NET Remoting

Posts   
 
    
Andy
User
Posts: 3
Joined: 12-Apr-2007
# Posted on: 12-Apr-2007 22:20:16   

I'm encountering an problem passing generic EntityCollections using .NET remoting over an HTTP channel. When I try to call a method on the server, using an LLBLGen 2.0 Entity as a parameter, I get the following error:

Soap Serializer does not support serializing Generic Types : com.vicorp.MBDD.BusinessObjects.LLBLGen.HelperClasses.EntityCollection`1[com.vicorp.MBDD.BusinessObjects.LLBLGen.EntityClasses.FiveWhysEntity].

The object I'm passing is an ActionPlanEntity with this field:

private EntityCollection<FiveWhysEntity> _fiveWhys;

Is there a way to generate entities using only non-generic EntityCollections, as they were in LLBLGen 1.1, or is there another .NET Remoting configuration that can serialize these generic collections?

Thanks,

Andy

Andy
User
Posts: 3
Joined: 12-Apr-2007
# Posted on: 13-Apr-2007 00:25:49   

Oops, I guess I didn't have my formatters set up correctly. Looks like the binary formatter handles generic collections just fine.

Regards,

Andy