+ //\r
+ //TODO: This is how I used to do this, but it failed if the property was NULL.\r
+ //I dunno if I will have to do a similar thing with entity references (next case block)\r
+ //but I'm leaving this here as a reminder if I ever have to come back to thiat.\r
+ //\r
+ //Notice I also added mapsIndex to the generateUpdateSaveQuery thing, that's important.\r
+ //When I call it in this case block you can see I added voMapsIndex as that argument.\r
+ //God I hope I can remember this stuff in the future.\r
+ //$voMapsIndex = self::getMapsNameFromEntityObject($property, $maps);\r
+ $voMapsIndex = $mapsHelper->getVOName();\r