SHARE
TWEET

Untitled

a guest Feb 20th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. EntityCollection result = proxy.RetrieveMultiple(expression);
  2. foreach (var entity in result.Entities)
  3. {
  4.   String output = String.Empty;
  5.   if (entity.Attributes.Contains("account"))
  6.     output = entity.Attributes["account"].ToString();
  7. }
  8.    
  9. foreach (Entity entity in result.Entities)
  10. {
  11.     foreach (KeyValuePair<String, Object> attribute in entity.Attributes)
  12.     {
  13.         Console.WriteLine(attribute.Key + ": " + attribute.Value);
  14.     }
  15. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top