Use BulkInsert instead of foreach but inside a tx...