You should create an intermediate class that represents the Many-to-many relationship (since a many-to-many is just two one-to-many relationships anyway), for example:
So that would for example mean:
There is no such automatic behaviour in Aurelius. We preferred to keep the engine simple and light since current approach is not limiting, the suggested approach just behaves as a "wizard", but do not add a new feature, exactly.
Hi!
Did I understand it correctly. It's possible with aurelius to build such behaviour.
Wagner you mention it this functionality is already there, are there any plans to build a 'wizard' for
the TMS Data modeler?
greets
René, there is no need of such wizard. If there is a table, for example, named "ClassStudent" that relates class and student, such table will be converted to a class TClassStudent and you can use it from Aurelius normally.
Hello!
That's clear. But it would be nice as mentioned above is you have for example a class TStucent and a class TRooms and the m-n-Table TStudentRooms.
Then it would be nice to have a property generated in TStudent to get a list of TRooms and in TRooms a property to get a list of TStudents.
greets
-René
You just enable the ManyValuedAssociation (which is also available for 1:n relationships) that will give you a list of TStudentRoom in both Student and TRoom classes and you can get the other side from there.
Hello!
You're right. Sorry sometimes I don't see the wood for the trees!
regards
-René