title: How to configure DbContext to work with Oracle ODP.Net and EF CodeFirst?
body: <p>I'm trying to work with EF CodeFirst under Oracle with ODP.net. This is my DbContext class:</p>
  
  <pre><code>    public class MyCEContext : DbContext {
  
      public DbSet&lt;Person&gt; Persons { get; set; }
  
      protected override void OnModelCreating(DbModelBuilder modelBuilder) {
          modelBuilder.Entity&lt;Person&gt;().ToTable("PERSONS","myce");
  
      }
  
      public MyCEContext() : 
          base(new OracleConnection(
              "Data Source=cebd; User ID=myce; Password=****;"), true) {}
  
  }
  </code></pre>
  
  <p>Problem is that when I try to do something like this:</p>
  
  <pre><code>MyCEContext context = new MyCEContext();
  Person p = context.Persons.Find(1);
  </code></pre>
  
  <p>I get this inner error:</p>
  
  <pre><code>{"ORA-00942: table or view does not exist"}
  </code></pre>
  
  <p>And the table exists.</p>
  
  <p><strong>What am I doing wrong?</strong></p>