예제 #1
0
        protected virtual string AggregateSelectFieldString(IEnumerable <IField> fields)
        {
            var fieldString = fields.Where(f => !string.IsNullOrEmpty(f.Name)).Aggregate(string.Empty, (current, f) => string.Concat(current, FieldConcatString, NameConverter.GenerateSelectFieldString(f)));

            return(fieldString.Length > FieldConcatString.Length ? fieldString.Substring(FieldConcatString.Length) : string.Empty);
        }