Created
July 1, 2012 00:40
-
-
Save jdeoliveira/3026233 to your computer and use it in GitHub Desktop.
WCF order representation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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