Forward Mapping (creating table)

Thread is closed for posting
2 posts, 0 answers
  1. jr
    jr avatar
    6 posts
    Member since:
    Sep 2009

    Posted 16 Sep 2009 Link to this post

    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?
  2. Ady
    Ady avatar
    589 posts

    Posted 21 Sep 2009 Link to this post

    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.

    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.
Back to Top