LINQ-SQL & ADO.NET - How to make a bulk transaction entirely asynchronous?
问题 So i'm dealing with an ASP.NET 4.0 Web Forms Application in which the DAL is built with a combination of LINQ-SQL and classic ADO.NET (for auditing transactions, and bulk updates). I have an admin page on the site which performs an update on a bunch of records (could be thousands), and not to mention there is T-SQL triggers in place on those records. Needless to say, its a killer of an update. So of course, the page is timing out. The update transaction is performing with the following code: