This is a migrated thread and some comments may be shown as answers.

Multiplicy

1 Answer 25 Views
Design Time (Visual Designer & Tools)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Steve
Top achievements
Rank 2
Veteran
Steve asked on 22 Jun 2011, 08:26 PM
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

1 Answer, 1 is accepted

Sort by
0
Serge
Telerik team
answered on 28 Jun 2011, 11:49 PM
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.
Tags
Design Time (Visual Designer & Tools)
Asked by
Steve
Top achievements
Rank 2
Veteran
Answers by
Serge
Telerik team
Share this question
or