Restful wcf entity collection

Posts   
 
    
Posts: 3
Joined: 02-Feb-2011
# Posted on: 07-Feb-2011 10:10:27   

Hi there, We are using llbl gen pro licenesed version in our Restful WCF. Some of the methods return EntityCollection. The problems is that when we call our Web Methods who return EntityCollection, the root node is formatted something like that :

EntityCollectionOfOurEntityHRj7e8Te

We just need EntityCollectionOfOurEntity, not EntityCollectionOfOurEntityHRj7e8Te. Can anyone explain what is this extra HRj7e8Te with our entitycollection and how can we get rid of that? or can we modify it to something else.

Please see the response from our webmethod below.

Regards Usman Khalid

  • <EntityCollectionOfChannelEntityHRj7e8Te xmlns="http://schemas.datacontract.org/2004/07/Dynamax.DsNet.HelperClasses">
  • <EntityCollection Factory="Dynamax.DsNet.FactoryClasses.ChannelEntityFactory, Dynamax.DsNet.EntityLayer" Format="Compact25">
  • <ChannelEntity ObjectID="5dff2cd4-793b-4912-8cd8-48fd31a19fd0"> <ChannelId>1</ChannelId> <PortalId>1</PortalId> <OrganisationId>1</OrganisationId> <Name>Test Channel</Name> <_lps fs="ACo=" es="1" /> </ChannelEntity>
  • <ChannelEntity ObjectID="9cb11ab6-0467-4638-b0e7-b46c937fea56"> <ChannelId>2</ChannelId> <PortalId>1</PortalId> <OrganisationId>1</OrganisationId> <Name>Test Channel 2</Name> <_lps fs="ACo=" es="1" /> </ChannelEntity> <_lps f="7" /> </EntityCollection> </EntityCollectionOfChannelEntityHRj7e8Te>
Walaa avatar
Walaa
Support Team
Posts: 14993
Joined: 21-Aug-2005
# Posted on: 07-Feb-2011 15:22:59   

HRj7e8Te

I have no idea what's that.

Let's start with the basics, which RTL version (build no.) are you using? Could you cook us a very small repro based on Northwind?