public IMailMergeDataSource GetChildDataSource(string tableName)
{
switch (tableName)
{
// Get the child collection to merge it with the region provided with tableName variable.
case "Order":
return new OrderMailMergeDataSource(this.mCustomers[this.mRecordIndex].Orders);
default:
return null;
}
}
//ExEnd