Using 2010 Business Objects

Stimulsoft Reports.NET discussion
Post Reply
Martin Hart Turner
Posts: 66
Joined: Wed Apr 04, 2007 3:32 am
Location: Spain

Using 2010 Business Objects

Post by Martin Hart Turner »

Hi:

I have many reports that use DevExpress XPO business objects, to take advantage of the new Business Object features in version StimulReport 2010.1, do I have to change anything or is the new implementation automatico?

I have read in the 2010 release documentation that business objects are now not converted to the reports interal format, this functionallity I'm looking to use.

Thanks,
Martin.
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Using 2010 Business Objects

Post by Jan »

Hello Martin,
I have many reports that use DevExpress XPO business objects, to take advantage of the new Business Object features in version StimulReport 2010.1, do I have to change anything or is the new implementation automatico?
Yes you need do some changes:

1. You need use method RegBusinessObject of report instead RegData:

report.RegBusinessObject("Data", data);

2. You need use BusinessObject property of DataBand instead DataSource property.

3. In some cases you need change references to fields in text expressions.

Please check following live videos:

http://www.stimulsoft.com/livedemos/Rep ... eList.html
http://www.stimulsoft.com/livedemos/Rep ... etail.html

Thank you.
Post Reply