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?

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top