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 C++ |
---|
generic<typename TConnection, typename TCommand>
where TConnection : IDbConnection
where TCommand : IDbCommand
public ref class DbCommandSet abstract : IDisposable |
JavaScript |
---|
JavaScript does not support generic types or methods. |
Type Parameters
Inheritance Hierarchy
See Also