Hi,
I have a basic question about style.
When writing a new object is it common to give the object a load/save method, which transfers a whole instance of the object to/from the database, or, would it be more usale to update each property individualy if/when they change?
Thanks in advance, have googled but maybe my search terms are off...
I have a basic question about style.
When writing a new object is it common to give the object a load/save method, which transfers a whole instance of the object to/from the database, or, would it be more usale to update each property individualy if/when they change?
Thanks in advance, have googled but maybe my search terms are off...