Skip to content

Instantly share code, notes, and snippets.

@jdeoliveira
Created July 1, 2012 00:40
Show Gist options
  • Save jdeoliveira/3026233 to your computer and use it in GitHub Desktop.
Save jdeoliveira/3026233 to your computer and use it in GitHub Desktop.
WCF order representation
[DataContract]
public class Order
{
private String id;
private String productId;
private String quantity;
[DataMember]
public String Id
{
get { return this.id; }
set { this.id = value; }
}
[DataMember]
public String ProductId
{
get { return this.productId; }
set { this.productId = value; }
}
[DataMember]
public String Quantity
{
get { return this.quantity; }
set { this.quantity = value; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment