Skip to main content
Home Forums Silverlight Programming WCF RIA Services Get Data from child and parent table
1 replies. Latest Post by Pravinkumar R. D. on September 25, 2009.
(0)
Devaang
Member
21 points
90 Posts
09-25-2009 1:36 AM |
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>
Pravinku...
Contributor
4270 points
708 Posts
09-25-2009 1:57 AM |
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.aspxhttp://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"