Page 1 of 1

How to relate business objects to each other?

Posted: Sat Nov 13, 2010 12:08 pm
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

How to relate business objects to each other?

Posted: Mon Nov 15, 2010 2:52 am
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.

How to relate business objects to each other?

Posted: Mon Nov 15, 2010 3:40 am
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

How to relate business objects to each other?

Posted: Tue Nov 16, 2010 6:44 am
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.