Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Created November 15, 2016 11:14
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 bjoerntx/d6df34b1223e3b6ca315441b9d67288f to your computer and use it in GitHub Desktop.
Save bjoerntx/d6df34b1223e3b6ca315441b9d67288f to your computer and use it in GitHub Desktop.
public class Order
{
public int OrderID { get; set; }
public Customer Customer { get; set; }
public List<OrderItem> OrderItems { get; set; }
}
public class OrderItem
{
public Product Product { get; set; }
public int Quantity { get; set; }
}
public class Product
{
public string Name { get; set; }
}
public class Customer
{
public string Name { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment