QueryBuilder requires only EntityFactory