diff --git a/Core.Arango.DevExtreme/ArangoTransform.cs b/Core.Arango.DevExtreme/ArangoTransform.cs index effea91..2a516d7 100644 --- a/Core.Arango.DevExtreme/ArangoTransform.cs +++ b/Core.Arango.DevExtreme/ArangoTransform.cs @@ -400,6 +400,11 @@ private string Aggregate() var rightSelector = selector; var leftSelector = selector.Replace(".", ""); + + rightSelector = _settings?.PropertyTransform != null + ? _settings.PropertyTransform(selector, _settings) + : rightSelector; + var op = s.SummaryType.ToUpperInvariant(); Summaries.Add($"{op}{leftSelector}"); @@ -413,6 +418,11 @@ private string Aggregate() { var selector = _settings.ValidPropertyName(s.Selector).FirstCharOfPropertiesToUpper(); var rightSelector = selector; + + rightSelector = _settings?.PropertyTransform != null + ? _settings.PropertyTransform(selector, _settings) + : rightSelector; + var leftSelector = selector.Replace(".", ""); var op = s.SummaryType.ToUpperInvariant();