public string GetAllDataInPlace(Guid elementId) { var data = GenericData.GetAllDataInPlace(elementId); StringBuilder sb = new StringBuilder(); foreach (var d in data) { sb.Append(d.elementId).Append("|").Append(d.key).Append("|").AppendLine(d.value); } return(sb.ToString()); }