Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Created August 10, 2017 11:16
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/625c5060906a65bb2a94837e26d650d0 to your computer and use it in GitHub Desktop.
Save bjoerntx/625c5060906a65bb2a94837e26d650d0 to your computer and use it in GitHub Desktop.
Report report = new Report();
report.Name = "Monthly Sales Report";
report.Sales.Add(new Sale()
{
Id = 1,
Items = new List<Item>()
{
new Item()
{
Price = 256.2F,
Product = new Product()
{
Name = "ReportingCloud"
},
Qty = 5
},
new Item()
{
Price = 424.2F,
Product = new Product()
{
Name = "TX Text Control"
},
Qty = 3
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment