title: Entity Framework DataContext to Oracle Database
body: <p>I'm currently developing an MVC4 application that has a local SQL Database, but also needs to connect to an Oracle database for some stuff...</p>
  
  <p>Now, I have a experience with MVC and EF, but I lack knowledge of Oracle.</p>
  
  <p>After quite a long morning searching and trial, error and help I managed to connect to the oracle database using the "regular" way of opening a new OracleConnection(connString) and execute SQL with OracleCOmmand. So I know my connectionstring is correct and the database is accessible.</p>
  
  <p>I was hoping I could just create a DataContext class, and use my working connectionstring, and EF would work out of the box when I would do</p>
  
  <pre><code>using (var ctx = new OracleContext())
  {
     var test = ctx.People.ToList();
  }
  </code></pre>
  
  <p>However, now I get an error about a null returned from the "get_ProviderFactory". Are some extra steps neccesary to get EF to work? </p>
  
  <p>If you need any extra information, I'd be happy to supply that!</p>
  
  <p>Thanks in advance!</p>