Home » Magento » Magento 2 Certified Associate Developer » How do you persist an entity to the database?
How do you persist an entity to the database?
A. Calling the store() method on the entity’s model
B. Calling the update() method on the entity’s collection
C. Calling the persist() method on the entity’s repository
D. Calling the save() method on the entity’s repository
Correct Answer: D
Explanation/Reference:
Reference: https://www.human-element.com/magento-2-persisting-models-to-the-database
Download Printable PDF. VALID exam to help you PASS.
|
|
Answer:- D
Correct answer is D, https://www.linkedin.com/in/magento-two-developer/
Correct answer D