Last active
November 15, 2016 12:23
-
-
Save bjoerntx/a519e4b621b908d23417d8c5d01c8490 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// create new merge data | |
Order order = new Order() | |
{ | |
OrderID = 123, | |
Customer = new Customer() | |
{ | |
Name = "Peter Welch" | |
}, | |
OrderItems = new List<OrderItem>() | |
{ | |
new OrderItem() { | |
Product = new Product() { | |
Name = "Product A" }, | |
Quantity = 2 } | |
} | |
}; | |
// create a new instance of the DataSourceManager | |
dsManager = new DataSourceManager(); | |
// load the data source | |
dsManager.LoadSingleObject(order); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment