Created
August 10, 2017 11:16
-
-
Save bjoerntx/625c5060906a65bb2a94837e26d650d0 to your computer and use it in GitHub Desktop.
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
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