Created
June 18, 2013 19:48
-
-
Save lohithgn/5808652 to your computer and use it in GitHub Desktop.
Product Model class
This file contains 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 ProductModel | |
{ | |
private int productID; | |
[DataMember] | |
public int ProductID | |
{ | |
get { return productID; } | |
set { productID = value; } | |
} | |
private string productName; | |
[DataMember] | |
public string ProductName | |
{ | |
get { return productName; } | |
set { productName = value; } | |
} | |
private decimal price; | |
[DataMember] | |
public decimal Price | |
{ | |
get { return price; } | |
set { price = value; } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment