Пример #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));
        }
Пример #2
0
        public override string NiceName()
        {
            if (AggregateFunction == AggregateFunction.Count)
            {
                return(AggregateFunction.NiceToString());
            }

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

            return(" ".CombineIfNotEmpty(AggregateFunction.NiceToString(), this.GeNiceDistinct(), this.GetNiceOperation(), this.GetNiceValue()));
        }
Пример #4
0
 public override string ToString()
 {
     return(AggregateFunction.NiceToString());
 }