2 Uni -> 1 Bi

Home Up

 

 

Merge 2 Uni -> 1 Bi by Michael Moors

This is an example of how to merge 2 uni-directional associations into 1 bi-directional association. This script will look through the entire model to replace 2 uni-directional associations that cross reference 2 classes.

v1.1 changes 

  • Added "Option Explicit"
  • Updated script to not merge when multiple uni-directional associations are going in the same direction to the same class.

Download v1.1 (5KB) (24-May-2000)

www.rationalrose.com/scripts/merge_two_uni_to_bi_v1-1.ebs

Download v1.0 (3KB) (11-May-2000)

www.rationalrose.com/scripts/merge_two_uni_to_bi.ebs


All products mentioned are registered trademarks or trademarks of their respective companies.
Send mail to webmaster@rationalrose.com with questions or comments about this web site. 
Copyright © 1999-2000 Michael Moors
Last modified: May 24, 2000