title: Can generate EDMX but can't run query on Oracle DB
body: <p>I can't get working EF with my Oracle DB, on Visual Studio 2013, .NET 4.0.</p>
  
  <p>This is what i have done:</p>
  
  <ul>
  <li>Installed ODTwithODAC121012 (I also have installed previously ODAC1120320_x64)</li>
  <li>Set up a new connection successfully</li>
  <li>Generated an edmx rom my DB successfully (I have choosen EF5)</li>
  </ul>
  
  <p>This is my app.config :</p>
  
  <pre><code>   &lt;configSections&gt;
       &lt;section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=4.4.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /&gt;
     &lt;/configSections&gt;
     &lt;connectionStrings&gt;
       &lt;add name="Entities" connectionString="metadata=res://*/Entity.PVModel.csdl|res://*/Entity.PVModel.ssdl|res://*/Entity.PVModel.msl;provider=Oracle.ManagedDataAccess.Client;provider connection string=&amp;quot;data source=BWKBX;password=BWKBX;persist security info=True;user id=BWKBX&amp;quot;" providerName="System.Data.EntityClient" /&gt;
     &lt;/connectionStrings&gt;
     &lt;entityFramework&gt;
       &lt;defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" /&gt;
     &lt;/entityFramework&gt;
  </code></pre>
  
  <p>In my code, when I could instantiate my DbContext but I can't run a query like : </p>
  
  <pre><code>    db.MY_TABLE_SET.Where(p =&gt; p.FOO == "FOO").ToList();
  </code></pre>
  
  <p>This is the error I get :</p>
  
  <pre><code>    System.ArgumentException was unhandled by user code
        HResult=-2147024809
        Message=Soit le fournisseur de magasins spécifié est introuvable dans la configuration, soit il n'est pas valide.
        Source=System.Data.Entity
        StackTrace:
             à System.Data.EntityClient.EntityConnection.GetFactory(String providerString)
             à System.Data.EntityClient.EntityConnection.ChangeConnectionString(String newConnectionString)
             à System.Data.Entity.Internal.LazyInternalConnection.InitializeFromConnectionStringSetting(ConnectionStringSettings appConfigConnection)
             à System.Data.Entity.Internal.LazyInternalConnection.TryInitializeFromAppConfig(String name, AppConfig config)
             à System.Data.Entity.Internal.LazyInternalConnection.Initialize()
             à System.Data.Entity.Internal.LazyInternalConnection.CreateObjectContextFromConnectionModel()
             à System.Data.Entity.Internal.LazyInternalContext.InitializeContext()
             à System.Data.Entity.Internal.InternalContext.Initialize()
             à System.Data.Entity.Internal.InternalContext.GetEntitySetAndBaseTypeForType(Type entityType)
             à System.Data.Entity.Internal.Linq.InternalSet`1.Initialize()
             à System.Data.Entity.Internal.Linq.InternalSet`1.get_InternalContext()
             à System.Data.Entity.Infrastructure.DbQuery`1.System.Linq.IQueryable.get_Provider()
             à System.Linq.Queryable.Where[TSource](IQueryable`1 source, Expression`1 predicate)
             à OBS.SCAV.AdminKpiBox.Tests.TestVisualizeService.TestOneEnd() dans d:\Workspace\SCAV\G1R1 (DEV)\Web Service\AdminKpiBox\OBS.SCAV.AdminKpiBox.Tests\TestPeriodValidation.cs:ligne 30
        InnerException: System.ArgumentException
            HResult=-2147024809
            Message=Le fournisseur de données .Net Framework demandé est introuvable. Il n'est peut-être pas installé.
            Source=System.Data.Entity
            StackTrace:
                 à System.Data.EntityClient.EntityConnection.GetFactory(String providerString)
            InnerException: 
  </code></pre>
  
  <p>Thank you in advance.</p>