Hi Gino,
We do store shopping carts using serialization/json/xml to files and restore
them when the user is back. We just need an item id and quantity.
We store it :
a) in a file using a uuid (saved in a cookie for non logged in users)
b) in a file using the customer profile for logged in user
Hi,
or, if you use MySQL (or horizontal Inheritance ), you may override the
willDelete method. eg:
public void willDelete() throws NSValidation.ValidationException {
super.willDelete();
NSArray targets = Target.fetchTargets(editingContext(),
Target.TOONE.eq(this), null);
for(Target t:targets)