All the demos of Visual Studio Lightswitch use SQL-Server, it is possible to access data from Oracle using Visual Studio Lightswitch?
To connect to Oracle Database from SQL*Plus: If you are on a Windows system, display a Windows command prompt. At the command prompt, type sqlplus and then press the key Enter. At the user name prompt, type your user name and then press the key Enter.
Yes, if you can get a third-part provider for the entity framework. I actually asked this question at VSLive this week.
Visual Studio Lightswitch can be persisted to an Oracle Database via the Entity Framework.
Oracle Data Provider (ODP.Net)
Oracle's ODAC Tools contains the Oracle Data Provider (ODP.Net) for use with Visual Studio applications. Oracle's latest driver with support for Entity Framework 4.1 and "Model First" approach.
EDIT: I am not sure if it supports "Code-First" or EF 4.2 so check documentation. That said, it's free and supported by Oracle so I would strongly suggest starting here before rolling your own, or using open source providers/drivers.
Download ODP.Net 11.2.0.3
EF Tutorial w/ ODP.Net
Notes: "11.2.0.2 Release 4" will cut it, but "11.2.0.3 is" out and more stable.
Third party drivers are available for purchase:
docConnect for Oracle
DevArt's ADO.Net Provider for Oracle
Open Source Providers
In addition there are some open source options available - one I found on Github:
https://github.com/object/NorthwindOData
Tutorial on MSDN: How to Connect Lightswitch to EF 4.1
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With