You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Florian Eisenmenger 41ccc32b5d checkin 2 years ago
..
Db checkin 2 years ago
Observer checkin 2 years ago
Operation checkin 2 years ago
Sequence checkin 2 years ago
Test/Unit checkin 2 years ago
AbstractModelHydrator.php checkin 2 years ago
CallbackHandler.php checkin 2 years ago
CompositeMapper.php checkin 2 years ago
EntityManager.php checkin 2 years ago
EntityMetadata.php checkin 2 years ago
EntityMetadataInterface.php checkin 2 years ago
EventManager.php checkin 2 years ago
Hydrator.php checkin 2 years ago
HydratorInterface.php checkin 2 years ago
HydratorPool.php checkin 2 years ago
Mapper.php checkin 2 years ago
MapperInterface.php checkin 2 years ago
MapperPool.php checkin 2 years ago
MetadataPool.php checkin 2 years ago
OperationInterface.php checkin 2 years ago
OperationPool.php checkin 2 years ago
README.md checkin 2 years ago
TypeResolver.php checkin 2 years ago

README.md

EntityManager

EntityManager library contains functionality for entity persistence layer. EntityManager supports persistence of basic entity attributes as well as extension and custom attributes added by 3rd party developers for the purpose of extending default entity behavior.

It’s not recommended to use EntityManager and its infrastructure for your entity persistence. In the nearest future new Persistence Entity Manager would be released which will cover all the requirements for persistence layer along with Query API as performance efficient APIs for Read scenarios.

Currently, it’s recommended to use Resource Model infrastructure and make a successor of Magento\Framework\Model\ResourceModel\Db\AbstractDb class or successor of Magento\Eav\Model\Entity\AbstractEntity if EAV attributes support needed.

For filtering operations, it’s recommended to use successor of Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection class.