Found a parameter that I can not understand. On the site orakla described as:

Using the ActionName property for a given OracleConnection object.

used when creating a connection like this:

private void InitConnection() { if (null == connection_) { connection_ = new OracleConnection(connection_string_); connection_.Open(); if (!String.IsNullOrEmpty(action_name_)) { // ActionName появился Ρ‚ΠΎΠ»ΡŒΠΊΠΎ Π² 11.1.0.7.0 - поэтому динамичСски устанавливаСм var action_name_prop = connection_.GetType().GetProperty("ActionName"); if (null != action_name_prop) { action_name_prop.SetValue(connection_, action_name_, null); } } } } 

The code was written for a long time and not by me, I try to make out some nuances, but the description

ActionName property to set the action name

It seems to me extremely foggy. Who thread came across? Why is it even needed?

    1 answer 1

    If I understand correctly, in this line you set the connection name for the v $ session view ie at

     select module, action from v$session 

    You will see in the module field the name of your application, for example PL / SQL Developer, in action the current activity, for example, the SQL Window - New