store
Stores the entity.
If the caching of this entity was previously started, the entity is cached in the memory only. Otherwise, a supplied direct store operation is executed.
If the entity is being cached, the changes will travel from the in-memory cache to the underlying storage when stopCaching(entityId) method is called.
Parameters
entity
the entity to store