This is a migrated thread and some comments may be shown as answers.

Join doesn't working in LINQ in DevExpress CPO

1 Answer 107 Views
LINQ (LINQ specific questions)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ghanshyam
Top achievements
Rank 1
Ghanshyam asked on 23 Nov 2011, 11:06 AM
I have used persistance class and used following LINQ query :

XPQuery<Students> objStudentQuery = new XPQuery<Students>(XpoDefault.Session);
XPQuery<ExamDetails> objExamDetailsQuery = new XPQuery<ExamDetails>(XpoDefault.Session);

var ExamDetails = from exm in objExamDetailsQuery
                          join student in objStudentQuery on exm.StudentId equals student.StudentId
                          select new { student.FirstName, student.LastName, exm.ExamName, exm.Marks, exm.Date };

but it throws an error saying. "Specified Method is not Supported"

How can i get data from two table using XPO Persistance Class?

Thanks

1 Answer, 1 is accepted

Sort by
0
Ivailo
Telerik team
answered on 23 Nov 2011, 01:23 PM
Hi Ghanshyam,

I believe you have posted this ticket to the wrong forum - this is the Telerik forum for the product OpenAccess ORM. You are welcome to download and evaluate our ORM solution and we will be happy to assist you in getting started.
 

Greetings,
Ivailo
the Telerik team

Q3’11 of Telerik OpenAccess ORM is available for download. Register for the What's New in Data Tools webinar to see what's new and get a chance to WIN A FREE LICENSE!

Tags
LINQ (LINQ specific questions)
Asked by
Ghanshyam
Top achievements
Rank 1
Answers by
Ivailo
Telerik team
Share this question
or