I was inspired by this solution to be able to add custom telemetry on my 
SQL queries.
https://carlos.mendible.com/2016/05/06/nhinsights-an-oraclemanageddataclientdriver-for-nhibernate-and-application-insights

Without much prior knowledge of NHibernate I am struggling with the 
argument list of the ReflectionBasedDrivers constructor. It accepts the 
following strings:
•providerInvariantName
•driverAssemblyName
•connectionTypeName
•commandTypeName

The only two I feel certain about are the driver assembly and the command 
type. "NHibernate.Driver.SqlClientDriver" and 
"NHInsights.Infrastructure.InsightsDbCommand" respectively.

How do I find the names of the providerInvariant and connectionType? I use 
a MS SQL Server 2012 and the MsSql2005Dialect.

Any help would be much appreciated.

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to