Hi bebe,
When you import entities into an EntityManager, all the temporary IDs are reset. (after all, they are temporary. Also, there is a possibility that the EntityManager could have this temporary ID already associated with another entity)
Is this situation, you should resolve the IDs before importing them into the sandbox.
i.e.
_manager.ForceIdFixup();
Also, I assume you would edit and/or save the entities in the sandbox and then import then back to your 'main' EntityManager. In this situation resolving the IDs is also important because when you import the entities back to the 'main' EntityManger, you will not have 'duplicate' entities (i.e. one with the resolved ID and EntityState.Unchanged and another with the temp ID and EntityState.Added)
Silvio.