Oracle and entity framework in visual studio - oracle

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.

Related

How add Oracle as provider for Entity Data Model wizard

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.

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.

SSDT and Entity Framework

Using Visual Studio 2013, I'm trying to use a local development DB created by SSDT as the source for an Entity model.
I can connect to this DB using the Entity Data Model wizard, but non of the Tables, Stored Procedures, or Views show up.
According this article,http://visualstudiomagazine.com/blogs/data-driver/2012/06/sql-server-data-tools-a-work-in-progress.aspx
"Also, integration with Entity Framework, which actually worked in the Visual Studio 11 Developer Preview, was removed in the Visual Studio 11 Beta, as the SSDT blog explained in March. A post said: "Based on the feedback received and the remaining engineering work that would have been required to complete the experience, the decision was made to not include this functionality in Visual Studio 11."
Given this article is more than two years old, does anyone know if Microsoft added support for Entity in Visual Studio '13 SSDT?
Any other ideas as to why I cannot see any database objects?
Have you published the database from visual studio to the local instance, right click on the DB proj and select publish.

Differences: creating sql database in visual studio & sql sever 2008

I usually use Microsoft Visual Studio 2010 for system development and I always use the built-in SQL Server Express in Visual Studio to create and manage a database.
Currently, I'm learning Microsoft SQL Server Management Studio 2008 to create and manage a database.
I got some questions here:
What is the differences of the database in built-in sql server in Visual Studio & SQL Server Management Studio? Such as features and limitations.
Will it be better to create and manage database in SQL Server Management Studio instead of the built-in visual studio database?
I encounter a problem which is unable to upload my built-in Visual Studio SQL database to the web server in the past. So is creating database in SQL Server Management Studio much ideal for uploading database file to web server?
Thanks in advance.
Te latest versions of SSMS say "powered by Visual Studio" so your question could be moot. I think using SSMS gets you slightly closer to the database server itself -- which if you are doing admin too may be a good thing.

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.

Resources