The acronym CRUD, (create, read, update, delete), is common in object oriented programming. Being relatively new to OOP, I am wondering about the context of this functionality. When building a class with CRUD methods, should those methods be creating, reading, updating, deleting object attributes OR should they be performing those actions on database data OR some combination?
Explaining the CRUD:
The connection between Object Oriented Programming and Databases is the basic idea that database entries are, in a fairly basic sense, objects. Each entry in the database has various fields that correspond directly to fields of an object in an object-oriented language.