To expose readonly property in WCF using DataContract, add DataMember to the private property
[DataMember]
private string name;
public string Name
{
get{ return name;}
}
Wednesday, March 05, 2008
Expose Readonly public property of DataContract in WCF
Posted by Sanjay Sansanwal at 4:06 pm
Labels: Integration
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment