Exemple #1
0
        public override string NiceName()
        {
            if (AggregateFunction == AggregateFunction.Count && Parent == null)
            {
                return(AggregateFunction.NiceToString());
            }

            return(" ".CombineIfNotEmpty(AggregateFunction.NiceToString(), this.GeNiceDistinct(), this.GetNiceOperation(), this.GetNiceValue(), "of", Parent));
        }
Exemple #2
0
        public override string NiceName()
        {
            if (AggregateFunction == AggregateFunction.Count)
            {
                return(AggregateFunction.NiceToString());
            }

            return("{0} of {1}".FormatWith(AggregateFunction.NiceToString(), Parent.ToString()));
        }
Exemple #3
0
        public override string ToString()
        {
            string suffix = GetNiceOperation();

            return(" ".CombineIfNotEmpty(AggregateFunction.NiceToString(), this.GeNiceDistinct(), this.GetNiceOperation(), this.GetNiceValue()));
        }
Exemple #4
0
 public override string ToString()
 {
     return(AggregateFunction.NiceToString());
 }