> Am 18.01.2024 um 14:54 schrieb sergio ruiz <sergio....@gmail.com>: > > Using this Will my links remain viable using this method? > > Meaning that an event has a theater. That theater is also in the > OrderedCollection of Theaters. > > If the name of he theater changed in the Theaters collection, will that name > change occur in the event theater object? > > After bringing these collections back in via STON, will all of these > relationships remain intact?
If with relationship you mean that one object event has a reference to a theater object then yes. STON serializes the graph as objects and all references will be reestablished on materialization. Norbert > > > >> On Jan 18, 2024, at 8:26 AM, Norbert Hartl <norb...@hartl.name> wrote: >> >> If you have three classes with class side collections you can have a make >> e.g. a dictionary and put the collections from the class side into it like >> >> model := { >> #theaters -> Theater instances. >> #movies -> Movie instances. >> #event -> Event instances. >> } asDictionary. >> > > > > ---- > peace, > sergio > photographer, journalist, visionary > > Public Key: > https://pgp.key-server.io/pks/lookup?op=get&search=0x69B08F58923AB3A2 > #BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV > @sergio_101@mastodon.social > https://sergio101.com > http://www.codeandmusic.com > http://www.twitter.com/sergio_101 > http://www.facebook.com/sergio101 >