Search code examples
sqlbatch-insertbltoolkit

BLToolKit: how to insert a list of objects?


Is it possible with BLToolKit (http://bltoolkit.net) to create a set of records for list of object (batch insert)?

If yes, how is this possible?

Thanks a lot!


Solution

  • using (var db = new DbManager())
        db.InsertBatch(list);