Add method to transactionally create db-objects from an entity-list.

Title says it all.