tags:

views:

281

answers:

2

I have a POCO object that goes 4 levels deep contained objects (like Invoice has line items that have taxes that have gl entries), and I want to turn the entire thing into a DataSet. So there would be 4 tables, each with constraints being applied to the parent table.

Does anyone know of something that would automated this?

A: 

I don't have an answer... but a question: why? Personally I try to move code from DataSet to POCO... usually via ORM tools.

Serious question: what is it that you want that DataSet offers that POCOs don't offer?

Marc Gravell
Reporting tools (like crystal) like to bind to datasets.
Some do... some don't... I seem to recall binding RDL to an object graph, for example.
Marc Gravell
+2  A: 

This question sounds similar.

korchev