Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Methods for saving data of multiple objects
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Methods for saving data of multiple objects
Miscellaneous
Thread ID:
00584142
Message ID:
00584142
Views:
39
i dev a container with multiple objects, where is the best place to save the properties of each object?, in each object or a universal method in the container called for each object contained?, each object is based in a class called property, where property is an object where exist the method save.

what is best:


container.property.save:

saving code...

OR

container.property.save:

this.parent.save(data)

container.save
lparameters data

saving code...

what is the best?, if i have 10 properties is good have 10 methods called save doing the same thing like 1 method in the container called for the 10 objects?


Best Regards


Francisco Morosini
Reply
Map
View

Click here to load this message in the networking platform