WCF - Generic Dictionary Name Problems -


so, i'm consuming wcf service colleague has created functions this:

<operationcontract()> function getrelationshipsgroupedbyclass(byval objid integer, byval showdeleted boolean) dictionary(of string, list(of relationship)) 

when create service reference in asp.net application return type no longer dictionary

arrayofkeyvalueofstringarrayofrelationshipqkndupatkeyvalueofstringarrayofrelationshipqkndupat 

is there way of giving wcf custom name call instead of crazy name? or going have rewrite functions use generic dictionaries output custom data contracts instead?

because dictionaries not inherently serializable xml , wcf converts array - array see in service reference. may choose create own serializable dictionary - here's one, or use custom data contracts suggested.


Comments

Popular posts from this blog

php - mySql Join with 4 tables -

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -