private void GenerateAssociationName() { var selectedPersistentType = SelectedPersistentType; var selectedPropertyType = SelectedPropertyType; string associationName = string.Format("{0}{1}", selectedPersistentType.Name, selectedPropertyType.Name); ownerForm.SetAssociationName(true, Util.GenerateUniqueName(ownerForm.existingAssociations, associationName)); }
private void GenerateAssociationName() { var selectedPersistentTypeEnd1 = GetSelectedPersistentType(true); var selectedPersistentTypeEnd2 = GetSelectedPersistentType(false); string associationName = string.Format("{0}{1}", selectedPersistentTypeEnd1.Name, selectedPersistentTypeEnd2.Name); ownerForm.SetAssociationName(false, Util.GenerateUniqueName(ownerForm.existingAssociations, associationName)); }