Skip to content
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.

Latest commit

 

History

History
20 lines (11 loc) · 940 Bytes

README.markdown

File metadata and controls

20 lines (11 loc) · 940 Bytes

NHibernate.MySQLBatcher

NHibernate.MySQLBatcher is a simple library that allows NHibernate to batch MySQL commands. The was initially a patch built by Oleg Sakharov, but could not be included into NHibernate because of the dependency on mysql.data.

Usage

The easiest way to use the library is to install it via NuGet:

Install-Package NHibernate.MySQLBatcher

Then, add the following line to your NHibernate configuration:

config.DataBaseIntegration(
    db => db.Batcher<MySqlClientBatchingBatcherFactory>());

Thanks to Diego Mijelshon for pointing this functionality out.

License

This library is licensed under the LGPL v2.1 because that's what NHibernate is licensed under and I want to stay consistent with that.