The following code set module name to 'odpnet.module' and action name to 'odpnet.action'
var oracle = new OracleDataSourceBuilder("......") .UseModuleName("odpnet.module") .UseActionName("odpnet.action") .Build(); var sid = oracle.CreateCommand("select sys_context('USERENV','SID') from dual").ExecuteScalar(); Console.WriteLine(sid);
Then, expected result of query below should be 'odpnet.module' and 'odpnet.action', but it is not.
select module, action from v$session where sid=...;