I had multiple data models for a domain model. I had an entity defined in one model and needed to move it to another model for a different database. I removed the entity definitions from the EDMX and then added them to the other EDMX. When the object mapper runs it throws an error and stops generation:
Error during code generation: Index was outside the bounds of the array.
Now when I open the object mapper and click on the model that had the entity added to it, it crashes visual studio.
Any thoughts on how to recover from this?