flushCache

Sends all pending Entity inserts and updates stored in this transaction's EntityCache to the database.

Return

A list of all new entities that were stored as scheduled for insert.