Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 
 
Florian Eisenmenger 41ccc32b5d checkin 2 år sedan
..
Db checkin 2 år sedan
Observer checkin 2 år sedan
Operation checkin 2 år sedan
Sequence checkin 2 år sedan
Test/Unit checkin 2 år sedan
AbstractModelHydrator.php checkin 2 år sedan
CallbackHandler.php checkin 2 år sedan
CompositeMapper.php checkin 2 år sedan
EntityManager.php checkin 2 år sedan
EntityMetadata.php checkin 2 år sedan
EntityMetadataInterface.php checkin 2 år sedan
EventManager.php checkin 2 år sedan
Hydrator.php checkin 2 år sedan
HydratorInterface.php checkin 2 år sedan
HydratorPool.php checkin 2 år sedan
Mapper.php checkin 2 år sedan
MapperInterface.php checkin 2 år sedan
MapperPool.php checkin 2 år sedan
MetadataPool.php checkin 2 år sedan
OperationInterface.php checkin 2 år sedan
OperationPool.php checkin 2 år sedan
README.md checkin 2 år sedan
TypeResolver.php checkin 2 år sedan

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.