1
Suggestions and Requests / Re: Set attribute initial value on Transformation
« on: June 21, 2007, 08:58:01 pm »
Thanks. I realize I never found this helpitem because I have never used the contents to find helpitems.

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
...in Bi-Directional relations I want to add another line that sets the relation on the child in the form of Child.Dad = this; I have explicitly named the role dad because it's the rolename that is used to generate the field & property on the Child class.But since I'm not in any class scope when the connectors Template is run, so I don't have the ability to do any editing in the class neccesary for adding functions & code(Child.Dad = this;).
The rules for what constitutes an attribute vary somewhat between associations without any aggregation and those that do. However, LinkedAttribute templates should still execute for aggregations and compositions. (They won't generate at the other end)And that axectly what i'm running up against now. So the only option is to have bot sides navigable is either make it a bi-directional association again or to add the attribute X manually on class B the PIM in the following situation: [A]<><-X---Y->?
*But* it only works for "plain" associations, not with aggregation nor composition. Why is that? Is there any way around it?
Simon,Is it possible someone could give an answer to this question? Can we expect this anytime soon?
Do you know if this is on the radar at Sparx?
David