Skip to content

Instantly share code, notes, and snippets.

@bjoerntx
Last active November 15, 2016 12:23
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/a519e4b621b908d23417d8c5d01c8490 to your computer and use it in GitHub Desktop.
Save bjoerntx/a519e4b621b908d23417d8c5d01c8490 to your computer and use it in GitHub Desktop.
// 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