This is a migrated thread and some comments may be shown as answers.
Forward Mapping (creating table)
1 Answer 11 Views
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
jr
Top achievements
Rank 1
jr asked on 16 Sep 2009, 06:19 PM
How can I get a single table via forward mapping, where I have a relation many-to-many between 3 object from classes that I have created.
For example to have a table with Schools and Students, I can have a list of students in class School.
But what if I want to have a table that maps the for example the city of the school, the school and the students?
Imagine that all those are complex classes created by me.
I want a table that the rows shoul have a a a student, the school he belongs, and the city from school.
I repeat, being this complex classes and not strings or atributes from a class.
Basically I want a table that maps me the relation of 3 distinct classes.
How that is done via forward mapping and object classes?
Thanks

1 Answer, 1 is accepted

Sort by
0
Ady
Telerik team
answered on 21 Sep 2009, 01:12 PM
Hi João Martins,

 From what I understand from the description I guess you want to maintain an m:n relationship which has some additional information per record. Please have a look at this Knowledge base article that describes how to achieve that.
If this is not what you please feel free to get back to us.

Greetings,
Ady
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
General Discussions
Asked by
jr
Top achievements
Rank 1
Answers by
Ady
Telerik team
Share this question
or