Cross edmx "join" between Linq to Entities and Entity Framework

entity-framework linq-to-entities

Question

I have two entities, each with separate edmx files since they came from various databases. However, there is an implied connection between them.

Foo has manyBar s, for instance.

What is the quickest and least resource-intensive approach to do this join using EntityFramework?

Thanks.

1
5
12/18/2008 11:06:10 AM

Accepted Answer

By including cross-model navigation attributes, you may do this. The EDMX has to be manually edited for this. There is an example, here, that uses LINQ to Entities.

4
12/18/2008 1:48:36 PM

Popular Answer

You may do this by representing data in the other database using Views. Examine EF's cross-database joins.



Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow