Grant H.
Grant H.

Reputation: 3717

LINQPad access multiple databases in single file

I'm using LINQPad, and am trying to make the following scenario work.

I've got a SQL server connection, and an Oracle connection. I need to query from both contexts within the same LINQPad file. I do NOT need cross-db capabilities (server side joins, etc) akin to what is addressed in (LINQPad, using multiple datacontexts), but I do need to be able to access each independently. Is there any way to do this?

Upvotes: 2

Views: 1172

Answers (1)

Joe Albahari
Joe Albahari

Reputation: 30934

The only way to do this at present is to build the additional typed data context(s) in Visual Studio, and then reference the output assemblies from LINQPad.

Upvotes: 2

Related Questions