I'm trying to retrieve all Account records from CRM 2011 so that I can cycle through them using a ForEach loop and populate a drop down. I was reading this post (Retrieving list of Entities) and am able to retrieve all accounts which meet a certain condition, but how can I retrieve all? That is every single Account record, no matter of the condition?
This is the code I was working with but I don't know which method to use after context.AccountSet. to get all accounts.
var context = new XrmServiceContext();
var parentAccount = context.AccountSet.All(snippet => snippet.ParentAccountId == "Account1");
Using context.AccountSet.All I can get all records which meet the condition, but I don't really need the condition...
Thanks for any help!