how to retrieve the data from different tables which are in different entity models

2 posts, 0 answers
  1. charan
    charan avatar
    29 posts
    Member since:
    May 2012

    Posted 17 Jul 2012 Link to this post

    hi,

    I am using Telerik open Access,I have three different Entity models like

               UserEntitiesModel->account_details
    ProfileEntitiesModel->biographic_details
    ContactsEntitiesModel->contact_groups_contacts

    I have three different tables in different Entitymodels. I want to load the data from all the tables,I used joins and wrote the lambda expression,but it is throwing an exception that "InvalidOperationException unhandled by user code".can u tell me how to retrieve the the data from different tables in different datamodels.

    I wrote the query like:

       I want to know is it possible to retrieve the data from different entity models using lambda expression?If not how can we retrieve the data from different tables which are in different entity models.
  2. Viktor Zhivkov
    Admin
    Viktor Zhivkov avatar
    291 posts

    Posted 20 Jul 2012 Link to this post

    Hello Charan,

    Please see the reply in your duplicate thread: http://www.telerik.com/community/forums/orm/databases/how-to-retrieve-the-data-from-different-tables-which-are-in-different-entity-models.aspx#2193854

    This thread will be closed because it is a duplicate of http://www.telerik.com/community/forums/orm/databases/how-to-retrieve-the-data-from-different-tables-which-are-in-different-entity-models.aspx 


    Regards,
    Viktor Zhivkov
    the Telerik team
    OpenAccess ORM Q2'12 Now Available! Get your hands on all the new stuff.
  3. DevCraft banner
Back to Top