How add Oracle as provider for Entity Data Model wizard - oracle

Im using Visual Studio 2017. I follow the instructions from this answer:
Interoperate between ASP.NET MVC and Oracle DB (12c)
I can connect to my Oracle server using Server Explorer.
Install From Nuget
Oracle.ManagedDataAccess
Oracle.ManagedDataAccess.EnitityFramework
Oracle.Web
But doesn't show on the Entity Data Model Wizard screen as provider.
What I'm missing?

To connect to oracle with EF 6.2, first install the Oracle Developer Tools for Visual Studio 2017. Then add your tnsnames.ora in C:\Program Files (x86)\Oracle Developer Tools for VS2017\network\admin
Install From Nuget
Oracle.ManagedDataAccess ,
Oracle.ManagedDataAccess.EnitityFramework
Once you clean and rebuild your solution you will be able to add your EF class with the Data Model Wizard.

Related

Can I open multidimesional model in Visual studio from SAP BW Query?

I have installed Visual Studio 2017 with SSDT extension.
There is a Query (on OLAP) in SAP BW. I can connect to this query using Analysis for Office from Excel to see the data from this query. This connection is made through Insert Data source using SAP logon and my credentials.
My question is - Can I open the Query in Visual Studio like a Project? I mean not just see the data without any relationships, but to see the table and design views? How can I import the Model into Visual Studio?
Thank you
You need Microsoft BW Connector installed which is a part of Microsoft® SQL Server® 2016 Feature Pack and also you need BI Developer Extensions for Visual Studio (SSDT) which you supposedly already have.
Just select SAP BW Source as a data source in Visual Studio and follow the instructions from this guide. Finally you should have something like this

how to create oracle database project in Visual studio 2013

I was trying to create a new oracle Database project in Visual studio 2013 but not able to find the right framework to do so. The closest I can find in VS 2013 is "SQLserver Database project" , which is not Oracle.
I am looking for a solution(plug-in/ tutorial) to create the same from couple of days but didn't get anything helpful.
following are the closest but didn't help for a beginner like me :
How to create Oracle database project using Visual studio 2010?
How to create a database project in Visual Studio 2013
If you are using the Ultimate/Enterprise editions of Visual Studio, here is the information you need to connect.
Oracle Developer Tools for Visual Studio (ODT) is a tightly integrated "Add-in" for Microsoft Visual Studio. Download ODT here: http://www.oracle.com/technetwork/developer-tools/visual-studio/overview/index-097110.html
Then, connect your application to an Oracle database using the .NET Framework Data Provider for Oracle. [source]
In the Choose Data Source dialog box, select Oracle Database, and click OK.
If the Add Connection dialog box opens, and the Data source is not Oracle Database, click Change to open the Choose/Change Data Source dialog box. For more information, see Choose/Change Data Source Dialog Box.
Type the name of the server where the database you want to access is located.
Type the User name and Password used to access the database, if required. For more information, see Add/Modify Connection (Oracle).
Click OK.

Installing Oracle Developer Tools for VS2013

The installer for the latest version of Oracle Developer Tools for Visual Studio only has options for Visual Studio 2010 and 2012 - does anyone know a way to add 2013 to the list? I cannot use VS2013 until I can get this to work.
As of ODT Version 12.1.0.1.2 Visual Studio 2013 is supported:
http://www.oracle.com/technetwork/database/windows/newfeatures-084113.html
The Oracle provider is not yet currently built against EF6 so if you are planning on using Entity Framework in MVC5, you need to install EF5 by running "Install-Package EntityFramework -Version 5.0.0" on the Package Manager Console.
If you are starting a bootstrapped MVC5 WebApp don't use the Individual User Account membership provider as it relies on EF6. You can go for one of the many alternate membership providers (http://nugetmusthaves.com/Tag/membership)
ODT is not available yet for VS2013. The current latest release (ODT 12.1.0.1.0) only supports 2008, 2010 and 2012.
Source: http://www.oracle.com/technetwork/developer-tools/visual-studio/overview/index.html
"Integration with Visual Studio: Use Server Explorer with Visual Studio 2012 to browse your Oracle schema and launch one of the many integrated Oracle designers and wizards to create and alter schema objects. Use Microsoft Query Designer to visually design queries. Visual Studio 2010 and 2008 are also supported."

VS2010: "Unable to find the requested .NET Framework Data Provider"

In VS2010, when I add an SQL Compact database to my App_Data folder, I'm unable to open and edit its schema. When I double click it says "Unable to find the requested .Net Framework Data Provider"
I installed SQL compact using NuGet's SQL compact repo and I've also installed "Microsoft SQL Server Data tools, Data Projects" using Microsoft Web Platform Installer 3.0.
What do I have to do so I can modify the schema of the SQL Compact database in Visual Studio 2010?
I used Windows Update that involved upgrading SQL Server 2008 to service pack 3 and that seem to work.

Oracle and entity framework in visual studio

I have installed all of the oracle software and databases and so on to work with .Net and Visual Studio 2010. There is a tutorial on the oracle website that describes how to work with the entity framework and oracle, yet.. when I am going through the entity data model wizard in visual studio 2010, I get to "choose your data connection", and the only thing there is "ApplicationServices". Yet in the tutorial on oracles website, there is an option for the oracle database? My oracle database is working and viewable from the server explorer... I have tried to edit web.config to add some kind of entry but that seems to have failed.
Did you install an EF provider for Oracle first? Oracle has a beta provider, and there are third-party providers (e.g., from Devart and others) as well.

Resources