Skip to main content

Microsoft Silverlight

Answered Question Get Data from child and parent tableRSS Feed

(0)

Devaang
Devaang

Member

Member

21 points

90 Posts

Get Data from child and parent table

Hello,

I want to get data from two tables

my table definations are like:

paymenttable  |      payertable

id payerid        |    payerid payername

Now I want to display paymentid and payername on my data form,

I have seen many threads, I think include in domain class is solution but I can not get include method in

my domain service class because I have used LinqToSqlDomainService<PaymentDataClassesDataContext>

 

 

 

****************************************
Thank you for Silverlight support.
Devaang.


Pravinkumar R. D.
Pravinku...

Contributor

Contributor

4270 points

708 Posts

Answered Question

Re: Get Data from child and parent table

Hi Devaang,

Just a thought. Why don't you use Joins in this case? Check the links below-

http://msdn.microsoft.com/en-us/vbasic/bb688084.aspx
http://www.onedotnetway.com/linq-to-sql-join-on-multiple-conditions/

Or Check the link below which may help you out-

http://pcquest.ciol.com/content/Developer/2009/109090304.asp

Thanks,

Pravin

"Please mark as answered, if this answers your question"

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities