Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7973847
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T08:13:11+00:00 2026-06-04T08:13:11+00:00

I have bought the premium version of LINQPad. I thought it would also be

  • 0

I have bought the premium version of LINQPad. I thought it would also be possible to perform cross data base queries with DevForce models.

There are two ways to do this. The simplest is the drag-and-drop
approach: hold down the Ctrl key while dragging additional databases
from the Schema Explorer to the query editor. To access those
additional databases in your queries, use database.table notation,
e.g., Northwind.Regions.Take(100). The databases that you query must
reside on the same server.

The second approach is to list the extra database(s) that you want to
query in the connection properties dialog. This dialog also lets you
choose databases from linked servers. Here’s how to proceed:

  1. Add a new LINQ to SQL connection.
  2. Choose Specify New or Existing Database and choose the primary database that you want to query.
  3. Click the Include Additional Databases checkbox and pick the extra database(s) you want to include. You can also choose databases from
    linked servers in this dialog.

Source

But obviously there isn’t any way, is it? Anyone a solution for this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T08:13:12+00:00Added an answer on June 4, 2026 at 8:13 am

    Cross-database querying works only with standard SQL Server connections, with databases on the same server or on linked servers. The main rationale is to ensure server-side joining (otherwise you’d end up pulling entire tables back to the client whenever you joined).

    I have considered adding a feature to LINQPad to allow arbitrary cross-database queries, because sometimes it would be useful even with client-side joining. However, getting this to work with custom data contexts (such as DevForce or Entity Framework) turned out to be really tricky, and so the feature ended up in the “too-hard basket”. A major problem was dealing with namespace/assembly/app.config conflicts.

    Bear in mind that there’s nothing to stop you from pressing F4 and adding a reference to an assembly containing an additional datacontext. Of course, you’d have to manually instantiate the second data context, but that shouldn’t be a huge deal. You’ll still get autocompletion, and you’ll still be able to see its schema in the tree view if you create a separate connection for it. And functionally, that’s what you’d end up with anyway, if LINQPad supported multi-connection queries.

    What’s special about LINQPad’s cross-database querying support for SQL Server is that it does something you couldn’t otherwise do simply by adding a reference to another assembly, which is to allow efficient cross-database querying by leveraging server-side joins.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: fill array with values without loop in php I have bought an
i have bought a template that have built in contact form problem is that
I have just bought a VPS running Ubuntu and I need to install the
I have bought hosting space from some third party provider. Now I am thinking
I'm starting a project using Rails and have bought a domain with Dreamhost. I've
I'm trying to give a license to all the users who have bought my
I have just bought a new Windows server with IIS on it and plesk
I have bought a book (Beginning Android Games) by Mario Zechner. On page 149,
I program in Asp.Net, C#, and I have recently bought a tablet with android
I am using Adobe Flash Builder 4 Premium. I have a mx:DataGrid and a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.