EntityCollection in Restful WCF XML

Posts   
 
    
Posts: 3
Joined: 02-Feb-2011
# Posted on: 02-Feb-2011 11:31:03   

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: 14983
Joined: 21-Aug-2005
# Posted on: 07-Feb-2011 15:25:56   

You have posted the same question in different forums, I'll close this thread, so we can follow up here: http://www.llblgen.com/tinyforum/Messages.aspx?ThreadID=19391