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 <LDAPSetting>
tag but say nothing about the <connectionStrings>
and/or <entityFramework>
tags. So far, this is what I have got.
<oracle.manageddataaccess.client>
<version number="*">
<LDAPsettings>
<LDAPsetting name="DIRECTORY_SERVERS" value="(serverX:3060:3131,serverY:3060:3131,serverZ:3060:3131,serverQ:3060:3131)"/>
<LDAPsetting name="DIRECTORY_SERVER_TYPE" value="oid"/>
<LDAPsetting name="DEFAULT_ADMIN_CONTEXT" value="cn=OracleContext,dc=mydomain,dc=com"/>
</LDAPsettings>
<settings>
<setting name="NAMES.DIRECTORY_PATH" value="(LDAP)"/>
</settings>
</version>
</oracle.manageddataaccess.client>
Any sample will be a great help.