Пример #1
0
        public string CreateSelectString(CommandFactory factory, bool isFullName, CreateSqlState state)
        {
            string[] list  = new string[this.selectList.Count];
            int      index = 0;

            foreach (AggregateDataFieldInfo fieldInfo in this.selectList)
            {
                state.SetAliasData(fieldInfo.FieldInfo, factory.CreateDataFieldSql(fieldInfo.AggregateName));
                list[index] = fieldInfo.CreateAliasDataFieldSql(factory, false, state);
                index++;
            }
            string data = string.Join(",", list);

            return(data);
        }