Multiplicy

2 posts, 0 answers
  1. Steve
    Steve avatar
    1851 posts
    Member since:
    Dec 2008

    Posted 22 Jun 2011 Link to this post

    I know I've asked this before, but refresh my memory on why I can't do this anymore?

    3:09 in
    http://tv.telerik.com/watch/orm/adding-associations?seriesID=930

    I have a massive hierarchy of tables all linked by userid, but everything links userid with 1-* and it's super irritating :)  Like if I have a profile object, there will never be multiple students associated with that profile, they should just join on the usierid.  In that case the student table can navigate back to profile because it's just a 1, but from profile to student it's an IList *

    **EDIT**
    This article TALKS about associations, but doesn't go into changing them
  2. Serge
    Admin
    Serge avatar
    375 posts

    Posted 28 Jun 2011 Link to this post

    Hello Steve,

     Unfortunately OpenAccess does not support one to one associations at the moment. We have this feature in our backlog however we haven't yet planned when it will be developed. This is why you cannot get a single reference on both sides. However you can write an extra property in a partial that only retrieves the first of record of the IList, however this cannot be used in a linq query. 

    As to associations as a whole I suppose you have already looked at the Association Editor. You can open it by double-clicking on an association and use it to configure it. 

    I am sorry for any inconvenience caused and I would like to thank you for bringing this up, also we will try and go into a bit more detail in our association videos. 

    Regards,
    Serge
    the Telerik team
    Q1’11 SP1 of Telerik OpenAccess is available for download; also available is the Q2'11 Roadmap for Telerik OpenAccess ORM.
  3. DevCraft banner
Back to Top