1
Automation Interface, Add-Ins and Tools / Re: Creating an Interface and a Class from a Class in a Transformation
« on: January 22, 2016, 10:10:29 pm »
Hi Jeff, tricky stuff indeed...
Your problem is that you are creating two associations with the same reference, causing the second one to overwrite the first when the intermediate file is processed. The Association specified by the block starting on line 446 of your intermediate file has an XRef:
XRef{namespace="C#" name="Connector" source="{8C04F9C8-612A-43d9-9312-EC0BB21D899D}"}
as does the Association starting on line 1043. The first association is between the interface and some other class, while the second one is between the class and that other class. The second one wins.
I'm not going to second guess the solution, but either you need to not create the second association, or give the first one a different XRef 'name'...
Regards
Eric
Your problem is that you are creating two associations with the same reference, causing the second one to overwrite the first when the intermediate file is processed. The Association specified by the block starting on line 446 of your intermediate file has an XRef:
XRef{namespace="C#" name="Connector" source="{8C04F9C8-612A-43d9-9312-EC0BB21D899D}"}
as does the Association starting on line 1043. The first association is between the interface and some other class, while the second one is between the class and that other class. The second one wins.
I'm not going to second guess the solution, but either you need to not create the second association, or give the first one a different XRef 'name'...
Regards
Eric