deleted EntityManager and StrictBag