I want to be able to assign an address field on one entity to another. Something like:
entity2.homeAddress = entity1.homeAddress where in both cases the field homeAddress is defined as of type address
Doing this does not cause an error but does not seem to work - entity1.homeAddress is always set to null
Do I really have to copy each subfield ( street, city, state etc.) separately?
Thank you
entity2.homeAddress = entity1.homeAddress where in both cases the field homeAddress is defined as of type address
Doing this does not cause an error but does not seem to work - entity1.homeAddress is always set to null
Do I really have to copy each subfield ( street, city, state etc.) separately?
Thank you
Comment