Page 1 of 1

Problem with Business Objects

Posted: Sat Oct 27, 2012 6:06 am
by hfdotnet
We all are familiar with programming in 3 layers
I'm trying to Programming 3 layers with DTO as simple concept and create test report with Stimul
But there was trouble on the way to
I wrote the following two simple classes
Image

And for retrieve some data use static class and below data (very simple and common)
Image
In my test report I need get information of University native student for this goal I used very simple linq join as below
Image
NOW all things is correct and “list” variable return correct data
Image

NOW let`s Start Create My Report
1. In Dictionary Section I add NEW DATA SOURCE and select Data From Business Objects
2. Add Student & College Class from “Common.dll”
3. Drag and Drop Student to Page as Table
Image

BUT My Problem is this :
Why two Columns (College Name – Professor Name) have Repetition Records ?
How I can correct records ?!

Image

Can anyone modify and correct my attachment ?!

Re: Problem with Business Objects

Posted: Sun Oct 28, 2012 10:59 pm
by mhf
سلام
دقیقا مشکلت چی؟

Re: Problem with Business Objects

Posted: Mon Oct 29, 2012 6:06 am
by hfdotnet
سلام
مشکل رو که شرح دادم خب
ببین من دو تا کلاس دارم که با استفاده از اونا دو تا لیست بر میگردونم
بعد اومدم یه کوئری لینک زدم
شکل یک رو ببین
بعد تو دیزاینر اومدم اون دی ال ال رو دادم و دیتا سورس رو تعیین کردم الان مشکلم اینه که دیتا سورس وقتی رو کلاس
student
ست میشه اطلاعات پراپرتی های مرتبط با
student
درسته ولی اطلاعات پراپرتی های کلاس
college
داره تکرار میشه
نتیجه ریپورت رو ببین
جاهد مطلق 3 بار تکرار شده در حالیکه غلطه
الان فقط اطلاعات دیتا سورسی درسته که تو دیزایر ست شده
کلاس دوم و آبجکت های دیگه فقط سطر اولشون تکرار میشه
من اگر 5 تا کلاس داشته باشم بعد با لینک جوین بزنم
ایجوری در آن واحد یکی اطلاعاتش درسته
چهار تا کلاس دیگه رکوردشون تکرار میشه
نمیدونم با هاش چیکار کنم

Re: Problem with Business Objects

Posted: Mon Oct 29, 2012 8:30 pm
by hfdotnet
Who can help?
Does my description is incomplete?

Re: Problem with Business Objects

Posted: Tue Oct 30, 2012 8:09 am
by HighAley
Hello.

Please, write your question to support@stimulsoft.com with link on this topic.

Thank you.

Re: Problem with Business Objects

Posted: Fri Nov 02, 2012 11:09 am
by hfdotnet
Aleksey Andreyanov wrote:Hello.

Please, write your question to support@stimulsoft.com with link on this topic.

Thank you.
I Modify My first post and attach sample + send my question to support@stimulsoft.com
I hope anyone help me

Re: Problem with Business Objects

Posted: Fri Nov 02, 2012 1:45 pm
by HighAley
Hello.

OK. We'll answer your mail.

Thank you.

Re: Problem with Business Objects

Posted: Sat Nov 10, 2012 4:38 pm
by mhf
سلام
شما میتونید ریلیشن بین جداولتون بزارید.

Re: Problem with Business Objects

Posted: Sun Nov 11, 2012 4:15 am
by Andrew
Hello,

I am sorry but your question or suggestion is not clear for us.

Thank you.