Poco objects make RegData() hang

Stimulsoft Reports.WPF discussion
Post Reply
gammern
Posts: 1
Joined: Tue Jul 05, 2011 4:22 am
Location: Norway

Poco objects make RegData() hang

Post by gammern »

I am trying to convert a Wpf FixedDocument report to Stimulsoft Reports.Wpf 2011.1 Trial.

Everything works fine except calling RegData() with an IList. It will hang, cpu goes ski-high. RegBusinessObject() works, but it will stripp of any navigational properties that is needed in the report :-(

If I convert the IList list to a list of types that resemble the poco classes, RegData() works fine. The new local classes do not have navigational props and changetracker (IDictionary?).

Is it possible to feed a report with a generic list of Entity Framework poco types with navigational props?
Can I tell the code generator to ignore types?
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Poco objects make RegData() hang

Post by Alex K. »

Hello,

Please send us a sample project for analysis.

Thank you.
mcgu
Posts: 4
Joined: Fri Jul 15, 2011 1:27 am

Poco objects make RegData() hang

Post by mcgu »

Hello,

is there a solution for this issue, i'm having the same problem.
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Poco objects make RegData() hang

Post by Jan »

Hello,

This problem can occurs when business object have big amount of nested objects, but you can limit amount of parsed level with help of following code:

Code: Select all

Stimulsoft.Report.StiOptions.Dictionary.BusinessObjects.MaxLevel = 2;
Thank you.

Post Reply