Linqpad and Oracle
It's been awhile for me doing C# reading data from Oracle, but am I going to need the Oracle client installed? I believe not. Also, I guess I'll need to get a hold of a .Net Oracle db access driver. Will I need a certain kind of driver to work in the linq-sql world? I don't mind hand-rolling my own datacontext class. I only have to deal with about 5 tables.
Comments
If you want to do this via Visual Studio, you'll need to purchase a third-party product that supports Oracle. DevArt has a product, and there are also products that work with Entity Framework.
Have you considered using LINQPad's built-in command-line runner to execute your scripts without a UI?
http://www.linqpad.net/lprun.aspx
The reason I need to do this in a separate process is that the user is able to change the underlying data model on-the-fly which forces me to regenerate the DataContext and re-validate the syntax.
My scripts have to change just a little from how I prototype them inside linqpad to be deployed to my "script server". For example, I have extension methods implemented for Dump() that writes to my logging system. But, when running the script inside linqpad, want to see it as linqpad dumps...
In short, to really make full use of LINQPAD in production, I'd need it to launch as a service and process requests as a socket server. It's really not that hard to do with all the classes provided in the .Net framework. Weekend project?
Any help is appreciated. This is running from VS2010, I've made sure to set framework to 4.0.
I have to delete the IQ Driver connections for this not to happen.
IS there a way I can do a custom datacontext using the IQ driver?