public string CreateSelectString(CommandFactory factory, bool isFullName, CreateSqlState state) { var selectList = new string [infoDict.Count]; var index = 0; foreach (var fieldInfo in infoDict.Values) { if (fieldInfo is IAliasDataFieldInfo aliasInfo) { selectList [index] = aliasInfo.CreateAliasDataFieldSql(factory, true, state); } else { selectList [index] = fieldInfo.CreateSqlString(factory, true, state); } index++; } var customSelect = factory.CreateSelectFieldConcat(selectList); return(customSelect); }