longyi c9405dd336 vendor 5 yıl önce
..
Db c9405dd336 vendor 5 yıl önce
Observer c9405dd336 vendor 5 yıl önce
Operation c9405dd336 vendor 5 yıl önce
Sequence c9405dd336 vendor 5 yıl önce
Test c9405dd336 vendor 5 yıl önce
AbstractModelHydrator.php c9405dd336 vendor 5 yıl önce
CallbackHandler.php c9405dd336 vendor 5 yıl önce
CompositeMapper.php c9405dd336 vendor 5 yıl önce
EntityManager.php c9405dd336 vendor 5 yıl önce
EntityMetadata.php c9405dd336 vendor 5 yıl önce
EntityMetadataInterface.php c9405dd336 vendor 5 yıl önce
EventManager.php c9405dd336 vendor 5 yıl önce
Hydrator.php c9405dd336 vendor 5 yıl önce
HydratorInterface.php c9405dd336 vendor 5 yıl önce
HydratorPool.php c9405dd336 vendor 5 yıl önce
Mapper.php c9405dd336 vendor 5 yıl önce
MapperInterface.php c9405dd336 vendor 5 yıl önce
MapperPool.php c9405dd336 vendor 5 yıl önce
MetadataPool.php c9405dd336 vendor 5 yıl önce
OperationInterface.php c9405dd336 vendor 5 yıl önce
OperationPool.php c9405dd336 vendor 5 yıl önce
README.md c9405dd336 vendor 5 yıl önce
TypeResolver.php c9405dd336 vendor 5 yıl önce

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.