Skip to Content

compare two models using VB script

Hi,

I want to compare two versions of a Conceptual Data Model. The in-built compare model option doesn't work for me because i want to add custom filters for comparison. Example: If the data type of a column A has changed from BOOLEAN to CHAR, then only it should be marked as a difference in attributes and not in case of any other data types.

Please help me to know how can i achieve this.

--Thanks

Amit

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Mar 16 at 06:24 AM

    I haven't got time at the moment to check this out, but I reckon there's a method somewhere that will load a "comparison settings set", which you do before invoking the compare method.

    ...

    OK, take a look at these objects in the metamodel:

    ComparisonHelper

    ComparisonAction

    Add comment
    10|10000 characters needed characters exceeded

    • Hi George,

      Thanks a lot again for this reply and solution.

      Now I' am somehow trying to make these lines work:

      ComparisonHelper.SetClassComparable "Domain", TRUE

      If you also come across any solution, please let me know.

      --Thanks

      Amit