How to relate business objects to each other?

Stimulsoft Reports.Silverlight discussion
Locked
Jalal
Posts: 66
Joined: Sat Oct 09, 2010 4:10 am
Location: Palestine

How to relate business objects to each other?

Post by Jalal »

Hello,

I am trying to relate business objects to each other using StiReport.SL, But I can't.

Using data sets in the previous version of Stimulsoft ( not silverlight), I was able to read dataset then using Report.RegData(dataset) and this will register dataset to my report and in the same time create relations. However, Using Silverlight, DataSet is not supported. So lets suppose i have generic objects, Is there a way to create business objects dynamically without create hard code class for each business object.

I mean, Dataset know how to relate objects together, so if i load any dataset, it will be added to report.Dictionary with all relations. ( as in StiReport). However, is that possible using StiReport.SL and business objects.

Regards,
Jalal
Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

How to relate business objects to each other?

Post by Jan »

Hello Jatal,

Sorry we can't support Ado.Net DataSet's because Silverlight technology does not provide support for it. You can use only business objects.

Thank you.
Jalal
Posts: 66
Joined: Sat Oct 09, 2010 4:10 am
Location: Palestine

How to relate business objects to each other?

Post by Jalal »

Thanks Jan,

In fact, i know that silverlight doesn't support dataset. So i am using business objects with StiReport.SL.

My question is how i can relate business objects in runtime? or lets say what the best way you can advice in order to relate business objects?

I try something like :

StiReport report = new StiReport();
report.dictionary.realtions.add(new relation...) ..

but it doesn't work!

Regards,
Jalal
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

How to relate business objects to each other?

Post by Alex K. »

Hello,

Data relation is not applied to business objects, on the whole, this conception is not applied to business objects. Business objects have relations that are implemented in the structure of the business object.

Thank you.
Locked