Search code examples
ado.netbatching

Batching in ADO.NET without DataAdapters


Is it possible to implement batching of multiple stored procedure calls (doing updates/deletes) in ADO.NET without resorting to DataAdapters?


Solution

  • You could try using System.Data.SqlClient.SqlCommandSet. It's actually internal, but Ayende made a wrapper to make it public.

    Code is currently hosted in sourceforge.