Skip to Content
avatar image
Former Member

Model dependency


Please let me know is there any way we can can set the dependencies between two models ?

Let us say i have a Model "M1" with 2 modelClasses "MC1" and "MC2".Another model "M2" with 2 modelClasses "MC21" and "MC22".(In the same project)

Is there any way to set the dependecy between these two models so that M1.MC1 is related to M2.MC21.



Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    May 26, 2004 at 08:11 AM

    Hello AnilKumar,

    Unfortunately this is currently not possible (unless you are using the Configuration Model), other Models do not support this.

    In our opinion, this feature is not too critical, as you can model relations in the context by using SupplyFunctions. You can have a ModelProperty which is in effect a foreign key pointing to the modelClass in the other Model. You would then need a Query in the other model to be able to fetch the related instance. This Query is called by the SupplyFunction and passed the foreign key. The result is bound to the current Context ModelNode.

    Hope that helps!

    Best regards,


    Add comment
    10|10000 characters needed characters exceeded