locked
RetrieveMultiple Returns extra column? RRS feed

  • Question

  • I defined a fetchxml to just return one non-id column. However

    RetrieveMultiple() always returns the id column, accountid in the case of Entity Accounts.

    Is it documented behavior?

    thanks,

    Wednesday, February 29, 2012 6:41 PM

Answers

  • I defined a fetchxml to just return one non-id column. However

    RetrieveMultiple() always returns the id column, accountid in the case of Entity Accounts.

    Is it documented behavior?

    thanks,

    When using RetrieveMultiple in C#, it will always return the id of an entity. If you look at the CHM in the SDK under "Entity Members", ID is defined as a top level public property.

    Wednesday, February 29, 2012 6:59 PM