I see that in the develop branch of the Magento 2 repo the methods load
load
and save
save
from Magento\Framework\Model\AbstractModel
class are deprecated.
But there are a gazillion classes in the core that extend this class and use save
and load
.
When creating my own module for the CRUD part of my entities I follow the same guidelines as a core module does.
But since these methods are deprecated I would rather be prepared for the future.
What should I use instead of them? Or I should extend something else?