Jump to content

Recommended Posts

Posted

I've not been able to find the answer to this anywhere yet.

 

Does the EF support multiple databases in the same model/context?

 

Using SQL Server 2005 and I have 5 databases on the same server that I need to join and query against. It seems to lock you into using 1 database for each Model. And you can't combine the models/contexts in a Linq query.

 

I'm able to work around this same limitation with Linq to SQL by changing the datasource when adding a table and referencing the tables by full name "database.dbo.Table". Is there a way to do the same with EF?

 

 

More...

 

View All Our Microsft Related Feeds

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...