Hi,
How can I programmatically get the name of the Oracle database I am connecting to? I tried:
using (OracleConnection connection = new OracleConnection(oraConnectStr))
{
connection.Open();
return connection.Database;
}
but it returns empty string. I can't use the whole connection string because it may contain username/password.