Visual Studio 2019 & Data Connection & Entity Framework Wizard (Oracle)

  • Thread starter Thread starter Jay Williams
  • Start date Start date
J

Jay Williams

Guest
I'm trying to do two things with VS2019 and am having some trouble.

First, I'm trying to create a Data Connection to an Oracle database that I can use when creating all the Entity Framework contexts, etc. I am able to create a connection, but I really need to specify that it uses a different schema in the Oracle database.

Second, I'm trying to use the Data Connection I created as I go through the Entity Framework Wizard (I need to import the database schema so I can use EF in my code). The problem I am having here is that the Data Connection that I previously created doesn't appear as an option in the combo box for "Which data connection should your application use to connect to the database?"

So, here are my questions which both need to be solved for me to import my database into EF:

  1. How do I specify the schema when I create the Data Connection (without this, I won't be able to choose tables for the Entity Framework Wizard—there are no objects in the default schema)?
  2. Where is my connection when I'm going through the EF Wizard?

After I get these two issues solved, then I can try and actually complete the EF Wizard.

Thanks,
Jay

Continue reading...
 
Back
Top