on 05-25-2004 5:38 AM
Hi,
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.
Regards
AnilKumar
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,
Karin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.