If foreign key is not set, we cannot HasMany.add
typos
setproperty must have a key to work