Join doesn't working in LINQ in DevExpress CPO

Thread is closed for posting
2 posts, 0 answers
  1. Ghanshyam
    Ghanshyam avatar
    1 posts
    Member since:
    Nov 2011

    Posted 23 Nov 2011 Link to this post

    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?


  2. Ivailo
    Ivailo avatar
    318 posts

    Posted 23 Nov 2011 Link to this post

    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.

    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!

Back to Top