Hi,

I submitted a pull request for https://nhibernate.jira.com/browse/NH-3675. 
This is for supporting bulk inserts in NHibernate through the native 
ADO.NET provider. For example, SqlClient uses SqlBulkCopy, 
Oracle.DataAccess uses OracleBulkCopy, etc.
I would like to hear from you about this. The API is very simple:

session.BulkInsert(new Entity[] { new Entity { }, ... });

I only implemented support for SqlClient and Oracle.DataAccess, other 
drivers get a dummy implementation that just does regular saves as a 
fallback. AFAIK, at least MySQL also supports this, but it does so through 
CSV files. Maybe someone else can provide support for this.

RP

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"nhibernate-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to