Generally for updating an item i am using
public static void UpdateCustomer<T>(T item) where T : class
{
var DB = GetNewDataContext();
var table = DB.GetTable<T>();
table.Attach(item);
DB.Refresh(RefreshMode.KeepCurrentValues, item);
DB.SubmitChanges();
}
What is the way to update an array of item (List of items).