Skip to content

Instantly share code, notes, and snippets.

@mclasson
Created July 14, 2013 11:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mclasson/5993946 to your computer and use it in GitHub Desktop.
Save mclasson/5993946 to your computer and use it in GitHub Desktop.
[DataContract]
class Order
{
public DateTime CreatedOn { get; set; }
public List<OrderRow> Orderrows { get; set; }
}
[CollectionDataContract]
class OrderRow
{
[DataMember]
public string Article { get; set; }
[DataMember]
public int Qty { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment