EntityCursorAdapter: a constructor to accept a custom EntityManager.