You have not mentioned whether you want to work with ADO.NET or Entity Framework.
In any case, I advise you to work with EF6 Code First
, for this just install the following NuGet
:
Official Oracle ODP.NET, Managed... 12.1.2400
If you prefer, you can do it by command line: PM> Install-Package Oracle.ManagedDataAccess.EntityFramework
It already has as dependence the Oracle.ManagedDataAccess
(If you want to work with ADO.NET) and the EntityFramework
.
remembering that you should not use EF7 to work with Oracle, it still does not have support for Oracle.
Recalling that the Visual Studio
allows you to create your Template Code First
in an "automated" way, add an item to your project ADO.NET Entity Data Model
, then choose Code First from Database
.
If you do not have this option, you may need to install the Entity Framework 6 Tools for Visual Studio 2012 & 2013, but since you’re using VS 2015, I don’t think it’s necessary.
I did not understand very well, because I am beginner Tobymosque, however I will do my project of studies in query I believe it is the ADO.NET that you are talking about.
– Marcelo Lopes
@Marcelolopes, ADO.NET is the technology that you use to access whatever database, through it you define objects of connection, sql commands, reading and modification of data... On the internet you enter several tutorials on how to use it to access a Sqlserver Bank, using classes such as Sqlconnection, Sqlcommand, Sqldatareader, try other... For Oracle you will need to install the
Oracle.ManagedDataAcess
(the simplest form is byNuGet
), then use the classes Oracleconnection, Oraclecommand, Oracledatareader.– Tobias Mesquita
I’m already making a little project with this to study thanks.
– Marcelo Lopes
@Marcelolopes, if you show up who you want to doubt along the way, just ask a new question.
– Tobias Mesquita
All right, thanks
– Marcelo Lopes