Hi, I'm having problems connecting to an Oracle DB.
VS 2017 two projects. Web App for Angular/MVC created on Net 4.61. Oracle LLBLGen DB project Net 4.61. I am trying to configure using code not the config file.
RuntimeConfiguration.AddConnectionString(
"ConnectionString.Oracle (ODP.NET)",
"data source=server:1891/instance;userid=aaaaa;password=bbbb;persist security info=false;"
);
var rdwDB = new RDWDatabase.Linq.LinqMetaData();
var items = rdwDB.Object.ToList();
When I run this it errors with:
System.InvalidOperationException: 'OracleConnection.ConnectionString is invalid'
The exact same LLBLGen project with the same connection string works when called from a Net 4.61 Console App using app.config. What am I missing?