Since you want to export the data, the best option would be to create another DomainContext that will be used solely for that purpose. Here is how I did this:
sender, System.Windows.RoutedEventArgs e)
var exportContext =
// The Where and Sort are our extension methods that will
// transform an EntityQuery<T> based on the supplied descriptors.
var exportQuery = exportContext.GetCustomersQuery()
+ loadOperation.TotalEntityCount +
var exported = loadOperation.Entities.ToList();
.debugTextBox.Text += customer.ContactName +
I have prepared and attached sample project that demonstrates this.
I hope this helps.
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat
for a walk through all the exciting stuff we ship with the new release!