Is there a way to bulk insert/update records in a SQL Server CE database using Nhibernate?
Asked
Active
Viewed 137 times
-1
-
You can use my SqlCeBulkCopy library, but it is not related to nHibernate – ErikEJ Dec 06 '12 at 09:05
-
Is there a way i can use this with Nhibernate? @ErikEJ – VSharma Dec 06 '12 at 09:19
-
It is just .NET code, so you can use it with any .NET code... – ErikEJ Dec 06 '12 at 09:39
-
In the sample code i see it needs DataReader. Can i pass List of object. – VSharma Dec 06 '12 at 09:54
1 Answers
0
ErikEJ s code might be more performant but to answer the question:
It is possible to Insert a lot of data using IStatelessSession.Insert()

Firo
- 30,626
- 4
- 55
- 94