protected override string CreateKey(TotalStoredProcedureStatistics data) { string dateKey = String.Format("{0:u}", dateTimeSelector.Select(data.Date)); return($"{data.DatabaseID}_{data.ProcedureID}_{dateKey}"); }
protected override string CreateKey(TotalRelationStatistics data) { string dateKey = String.Format("{0:u}", dateTimeSelector.Select(data.Date)); return($"{data.DatabaseID}_{data.RelationID}_{dateKey}"); }
protected override string CreateKey(NormalizedStatementIndexStatistics data) { string dateKey = String.Format("{0:u}", dateTimeSelector.Select(data.Date)); return($"{data.DatabaseID}_{data.IndexID}_{dateKey}"); }
protected override string CreateKey(NormalizedStatementStatistics data) { string dateKey = String.Format("{0:u}", dateTimeSelector.Select(data.Date)); return($"{data.DatabaseID}_{data.UserName}_{data.ApplicationName}_{dateKey}"); }