How to configure Entity Framework with LDAP?
<p>I would like to have a sample code on how to set up a config file that allows EF to map entities from an Oracle DB over LDAP connection. Most of the documentation I have read agree about about the <code>&lt;LDAPSetting&gt;</code> tag but say nothing about the <code>&lt;connectionStrings&gt;</code> and/or <code>&lt;entityFramework&gt;</code> tags. So far, this is what I have got.</p>

<pre class="lang-xml prettyprint-override"><code>&lt;oracle.manageddataaccess.client&gt;
    &lt;version number="*"&gt;
      &lt;LDAPsettings&gt;  
        &lt;LDAPsetting name="DIRECTORY_SERVERS" value="(serverX:3060:3131,serverY:3060:3131,serverZ:3060:3131,serverQ:3060:3131)"/&gt;  
        &lt;LDAPsetting name="DIRECTORY_SERVER_TYPE" value="oid"/&gt;  
        &lt;LDAPsetting name="DEFAULT_ADMIN_CONTEXT" value="cn=OracleContext,dc=mydomain,dc=com"/&gt;  
      &lt;/LDAPsettings&gt;  
      &lt;settings&gt;  
        &lt;setting name="NAMES.DIRECTORY_PATH" value="(LDAP)"/&gt;  
      &lt;/settings&gt;      
    &lt;/version&gt;
  &lt;/oracle.manageddataaccess.client&gt;
</code></pre>

<p>Any sample will be a great help. </p>