Nested lists
Posted: Tue Dec 02, 2008 11:59 am
Having a business object like this:
...Reports.Net somehow joins the two child lists into a singe data source:
Is there a way to make those two lists be mapped as separate data sources?
(I think I haven't completely wrapped my mind yet around the way the bussiness object to data source mapping works.)
Code: Select all
var reportData = new ArrayList
{
new ArrayList
{
new BarDto {BarProperty = "Bar Dto #1"},
new BarDto {BarProperty = "Bar Dto #2"},
},
new ArrayList
{
new FooDto {FooProperty = "Foo Dto #1"},
new FooDto {FooProperty = "Foo Dto #2"},
}
};
Code: Select all
BarProperty FooProperty
-----------------------
Bar Dto #1 NULL
Bar Dto #2 NULL
NULL Foo Dto #1
NULL Foo Dto #2
(I think I haven't completely wrapped my mind yet around the way the bussiness object to data source mapping works.)