I am able to use the export and import extensions successfully for entities already on the server, but when I try to add a new entity to my context it will not import back to the context. It serializes fine, but when I try to deserialize and import it I
get the error: 'MyEntity : null' cannot be added to cache because it doesn't have a valid identity.
The new entity has a valid value for the key field and I even get the error when none of the entity fields are null.
When I deserialized the entity state set and convert it to entity list I can see the new entity was there with all correct values, but it throws the InvalidOperation exception on the import call.
Is it not possible to import new entities that were not submitted to the server?