Пример #1
0
        protected override string CreateKey(TotalStoredProcedureStatistics data)
        {
            string dateKey = String.Format("{0:u}", dateTimeSelector.Select(data.Date));

            return($"{data.DatabaseID}_{data.ProcedureID}_{dateKey}");
        }
Пример #2
0
        protected override string CreateKey(TotalRelationStatistics data)
        {
            string dateKey = String.Format("{0:u}", dateTimeSelector.Select(data.Date));

            return($"{data.DatabaseID}_{data.RelationID}_{dateKey}");
        }
Пример #3
0
        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}");
        }