Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

For lists of domain objects, re-store provides a
dedicated type: ObjectList<T> where T denotes
the domain object class.

An ObjectList is more than just a collection of objects.
In re-store, it embodies the "n"-side of bidirectional 1:n
relations.

For this reason, ObjectList-s update the other relation
endpoint about modifications (add, remove) and vice versa.

The example from the PhoneBook tutorial is the list of
phone-numbers associated with a person (ObjectList<PhoneNumber>).

  • No labels