This repository was archived by the owner on Apr 29, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed
lib/internal/Magento/Framework/EntityManager Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change 13
13
14
14
/**
15
15
* Class EntityManager
16
+ *
17
+ * It's not recommended to use EntityManager and its infrastructure for your entity persistence.
18
+ * In the nearest future new Persistence Entity Manager would be released which will cover all the requirements for
19
+ * persistence layer along with Query API as performance efficient APIs for Read scenarios.
20
+ *
21
+ * Currently, it's recommended to use Resource Model infrastructure and make a successor of
22
+ * Magento\Framework\Model\ResourceModel\Db\AbstractDb class.
23
+ *
24
+ * For filtering operations, it's recommended to use successor of
25
+ * Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection
16
26
*/
17
27
class EntityManager
18
28
{
Original file line number Diff line number Diff line change 1
1
# EntityManager
2
2
3
3
** EntityManager** library contains functionality for management entity instances.
4
- It includes read and write operations as for entity as for their attributes and extensions.
4
+ It includes read and write operations as for entity as for their attributes and extensions.
5
+
6
+ It's not recommended to use EntityManager and its infrastructure for your entity persistence.
7
+ In the nearest future new Persistence Entity Manager would be released which will cover all the requirements for
8
+ persistence layer along with Query API as performance efficient APIs for Read scenarios.
9
+
10
+ Currently, it's recommended to use Resource Model infrastructure and make a successor of
11
+ Magento\Framework\Model\ResourceModel\Db\AbstractDb class.
12
+
13
+ For filtering operations, it's recommended to use successor of
14
+ Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection
You can’t perform that action at this time.
0 commit comments