public QueryMetadata Aggregate() { Metadata = new QueryMetadata(); AggregateConnectionStart(); AggregateConnectionClosed(); AggregateCommandErrors(); AggregateCommandDurations(); AggregateCommandExecuted(); AggregateTransactionBegan(); AggregateTransactionEnd(); return Metadata; }