Thanks for your quick response.
I'm trying to compile your github repo, but I'm getting about 2000 errors.
I guess mainly because of this.
4019: The imported project "C:\Program Files\dotnet\sdk\2.1.101\Microsoft\WiX\v3.x\Wix.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
I'm still trying to get it to compile by installing a bunch of things (like the WiX framework) and updating everything, but that might take a while
Anyway, I tried to follow your code, and I still have no clue what to do...
Would this be possible with a simple Interlop.EA call? Because none of those things even exist there

The operations in there are called methods, and there's no mention of associations, or anything that seems similar
Edit: btw, I just started off with the sample from the "C:\Program Files (x86)\Sparx Systems\EA\Code Samples" folder