OracleEntityProviderConfig via app.config
Posted: Wed 12 Oct 2011 19:47
I am currently attempting to use the code-first features of EF 4.1 and would like to take advantage of the auto-generate schema capability.
In order to do so, it appears I must include the following lines of code:
Devart.Data.Oracle.Entity.Configuration.OracleEntityProviderConfig config =
Devart.Data.Oracle.Entity.Configuration.OracleEntityProviderConfig.Instance;
config.Workarounds.IgnoreSchemaName = true;
I am trying to keep my entities loosely coupled from my provider and any associated assemblies. This would cause me to have an actual reference to the Devart.Data.Oracle.Entity assembly.
In short is there any configuration section implementation or other way to achieve this?
Thanks in advance.
In order to do so, it appears I must include the following lines of code:
Devart.Data.Oracle.Entity.Configuration.OracleEntityProviderConfig config =
Devart.Data.Oracle.Entity.Configuration.OracleEntityProviderConfig.Instance;
config.Workarounds.IgnoreSchemaName = true;
I am trying to keep my entities loosely coupled from my provider and any associated assemblies. This would cause me to have an actual reference to the Devart.Data.Oracle.Entity assembly.
In short is there any configuration section implementation or other way to achieve this?
Thanks in advance.