In Visual Studio C# I have added the following code to register the Oracle DB Provider:
RuntimeConfiguration.ConfigureDQE<OracleDQEConfiguration>(c =>c.AddDBProviderFactory(typeof(OracleClientFactory)));
However, it fails with the error No DbProviderFactory has been configured for this DQE. You have to use the DQE configuration system to register....
I am confused as I thought the RuntimeConfiguration command adds the Factory. Can you tell me what I am missing. I have checked all the references and Namespaces.
Looking at the Inner Exception states :
Method System.Reflection.MemberInfo.get_CustomAttributes cannot be called in this context
Many thanks