public override void ApplyChangesToBusinessObject()
{
IBusinessObject selectedOption = _comboBoxCollectionSelector.SelectedBusinessObject;
object newValue = null;
if (selectedOption != null)
{
newValue = !string.IsNullOrEmpty(OwningBoPropertyName) ? selectedOption.Props[OwningBoPropertyName].Value: selectedOption.ID.GetAsGuid();
}
SetPropertyValue(newValue);
}