Your example seems either overly contrived or plain silly. The only thing your GetData and SetData methods are doing is getting/ setting values into private fields. This could have been accomplished via get/set properties. In addition, if you marked your struct as part of the DataContract, it could easily be deserialized at the client and those properties could be set.
On Mar 31, 1:21 pm, KS Vishvajith <[email protected]> wrote: > I'm sorry, actually the struct is in a class library which the WCF calls to > access database. Please help me with this. > -- You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en or visit the group website at http://megasolutions.net
