iqueryable.toarray

Does calling ToArray on IQueryable de-attach the entity in LinqToSql?

I have a LinqToSql query that returns an array of Article objects like so: return db.Articles.ToArray(); I then loop over this array and start to delete some items that meet a certain criteria, for simplicity let's say I delete them all, like so: foreach (var item in array) db.articles.DeleteOnSubmit(item); The call to Del...

jQuery UI: sortable('toArray') returns an empty array

This has me stumped. The follow code returns ",,,,,,": <script type="text/javascript"> $(function() { $('#listB').sortable({ connectWith: '#listA', update: function(event, ui) { var result = $(this).sortable('toArray'); alert(result); } }); $('#listA').sortable({ connectWith: '#listB' }); }); </script> <div id="boxA"...