Restful wcf entity collection

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

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>
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39908
Joined: 17-Aug-2003
# Posted on: 07-Feb-2011 13:24:55   
Frans Bouma | Lead developer LLBLGen Pro