DataTable to object array
===

i have a sql query that returns customer and its orders in single datatable. So, customerId and customerName are repeated as number of its orders. I want to convert datatable to customer entity which consist of customerId, customerName and order array. I can do this with foreach loop, but seeking better way by using Linq.