I have a table with half a million rows. I need to update every single row but the ToList() fails:
List allContacts = objDatabase.Contacts.ToList
How about
IEnumerable allContacts = objDatabase.Contacts.AsEnumerable();
Never convert allContacts to a list. Just use is like an enumerator and apply Foreach loop to access each contacts.