Expose the batch functionality in ADO.Net 2.0 Microsoft in its wisdom decided to make my life hard and mark it internal. Through the use of Reflection and some delegates magic, I opened up the functionality. Observable performance benefits are 50%+ when used, so it is really worth it.

Namespace:  NHibernate.Impl
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Public Class SqlClientSqlCommandSet _
	Implements IDisposable
C#
public class SqlClientSqlCommandSet : IDisposable
Visual C++
public ref class SqlClientSqlCommandSet : IDisposable
JavaScript
NHibernate.Impl.SqlClientSqlCommandSet = function();

Type.createClass(
	'NHibernate.Impl.SqlClientSqlCommandSet',
	null,
	IDisposable);

Inheritance Hierarchy

System..::.Object
  NHibernate.Impl..::.SqlClientSqlCommandSet

See Also