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

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

1 Answer 63 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.
charan
Top achievements
Rank 1
charan asked on 17 Jul 2012, 05:13 AM
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.

1 Answer, 1 is accepted

Sort by
0
Viktor Zhivkov
Telerik team
answered on 20 Jul 2012, 10:07 AM
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.
Tags
LINQ (LINQ specific questions)
Asked by
charan
Top achievements
Rank 1
Answers by
Viktor Zhivkov
Telerik team
Share this question
or