Passing Object to Service in WCF
- by hgulyan
Hi,
I have my custom class Customer with its properties. I added DataContract mark above the class and DataMember to properties and it was working fine, but I'm calling a service class's function, passing customer instance as parameter and some of my properties get 0 values.
While debugging I can see my properties values and after it gets to the…