[baseten-users] CopyWithZone
Tuukka Norri
tuukka.norri at karppinen.fi
Wed Dec 2 00:55:24 EET 2009
Hi!
Michael Ruepp kirjoitti 1.12.2009 kello 17.03:
> how is copyWithZone implemented? Is it a deep copy with the relation object tree and all values?
-[BXDatabaseObject copyWithZone:] just retains the object. This makes it easier to update the objects when the corresponding rows change in the database.
> And, btw, when I call faultKey:nil on a DB object after I change a property, will it be inserted before?
Yes. -faultKey: only affects the object's cache.
--
Best regards,
Tuukka Norri
MK&C
More information about the baseten-users
mailing list