Timeline for Retrieving an object's ID
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 11, 2013 at 7:07 | comment | added | Abbas | You're right, there should be an extry check to see if 'unsavedItems' has any items at all. :) | |
Jul 11, 2013 at 0:26 | comment | added | dreza | What if unsavedItems is empty. Take(1).First() will fail. Also using .Any() on highNumberInBatch and then .Take() potentially enumerates the list twice. Consider using ToList() first. | |
Jul 10, 2013 at 14:45 | history | answered | Abbas | CC BY-SA 3.0 |