Silverstripe 3.0 Has One Relationship to DropdownField

Silverstripe 3.0 Has One Relationship to DropdownField

With Silverstripe’s new ORM some of the function calls to get data for a drop-down field have changed slightly. Here’s the new way to populate a DropdownField with the available options for a HasOne relationship: