Add support for defining parent table via link on the parentfield property