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.AdoNetAssembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)
Syntax
Visual Basic |
---|
Public Class SqlClientSqlCommandSet _
Implements IDisposable |
Visual C++ |
---|
public ref class SqlClientSqlCommandSet : IDisposable |
Inheritance Hierarchy
See Also