Page 1 of 1

Problem in ConvertBusinessObjectToDataSet method

Posted: Wed Apr 07, 2010 3:06 am
by fjsen
Hello,

I'm trying to migrate from version 2008.2.300 to latest product version and I've found some strange behaviour.

I have a collection with 2 elements in the data array list and want to load a stireport object dictionary with RegData("name", mycollection).

With my current version it works fine and I obtain a dictionary with 2 items in the datastore.
But if I try to do the same with new versions (2009.3.600.0 and higher) I obtain a dictionary with only 1 item in the datastore rather than 2.

I've taken a look into the source code and it seems the method ConvertBusinessObjectToDataSet in StiBussinesObjectToDataSet.cs is returning a dataset with just the first datatable in mycollection, and it doesn't happen in my current version. Then RegData in StiDataCollection.cs does a "foreach datatable in dataset.tables" but there is only 1 table.

Any ideas if I'm doing something wrong? Has the method ConvertBusinessObjectToDataSet changed anyway in the referred versions?

Thanks in advance!


Problem in ConvertBusinessObjectToDataSet method

Posted: Thu Apr 08, 2010 3:09 pm
by Andrew
Hello,

Most probably there in nothing serious with the issue. Could you, please a sample project to support@stimulsoft.com.

Thank you.