public void Closed(DbConnection connection, DbConnectionInterceptionContext interceptionContext) { var context = EFProfilerContextProvider.GetLoggedDbConnection(connection, interceptionContext); _profiler.ConnectionClosed(connection, context); }
public override void Close() { _profiler.ConnectionClosed(InnerConnection, NHProfilerContextProvider.GetLoggedDbConnection(InnerConnection)); InnerConnection.Close(); }