If you look at the
[ DBBidirectionalRelation ] attribution in both the
Person and the
PhoneNumber class, you will see that they are mutually complementary:
The first parameter of the
[ DBBidirectionalRelation ] attribute is the name of the property in the class on the other side. The class is specified by the reference properties type, but re-store has to know which particular property is the partnering property in that class.
mind the typos!
If you mistype the property name in the declaration, you will get no errors at compile-time, but will run into exceptions at run-time.
SortExpression is an SQL fragment for the default sorting of instances in the
This expression is a popular source for errors, as explained here: Mind the SQL!