Getting connection information in query
I'm using ToDump(...) in MyExtensons to change Dump() display of certain type. I'm trying to replace it with url. The host address i'd like to use is entered as one of configuration parameters in context driver setup (custom driver).
I'm struggling to get IDatabaseInfo or IConnectionInfo information stored in driver configuration, either from MyExtensions or UserQuery context - is this possible at all?
I'm struggling to get IDatabaseInfo or IConnectionInfo information stored in driver configuration, either from MyExtensions or UserQuery context - is this possible at all?
Comments
To obtain the current IConnectionInfo, use Util.CurrentQuery.GetConnectionInfo().