O'Reilly logo
  • zeke rodriguez thinks this is interesting:

This is messy. It would get messier still if ProcessCustomer required more Customer fields. A better solution is to use DataLoadOptions’s AssociateWith method:

From

Cover of C# 5.0 in a Nutshell, 5th Edition

Note

Filtering data sets efficiently