U. Friedrich
U. Friedrich

Reputation: 3

Refernce data classes from different local data models

In Wakanda it is possible to create several local data models. How can I reference a related entity of data class B from data model B in a data class of data model A? I tried to do the same thing as if both data classes were in the same model, but with different data models the data classes from different data models obviously don't know each other. Or is this not planned and both data models exist independently of each other?

Upvotes: 0

Views: 36

Answers (1)

Jeff G
Jeff G

Reputation: 2175

Try this:

let dsForModelB = solution.getApplicationByName("B").ds;

Edit: Just re-read your question and it looks like you want to create relations between data classes from different models. I don't think that is possible.

If you think about it, if two data classes are related, they should probably be in the same model.

Upvotes: 0

Related Questions