problem with the association between two domain classes

Thread is closed for posting
2 posts, 0 answers
  1. Pierick Mellerin
    Pierick Mellerin avatar
    7 posts
    Member since:
    Mar 2010

    Posted 29 Mar 2011 Link to this post


    OK, it was a misunderstanding... before adding an association between two persistent entities, the two domain classes must be mapped to tables and the mapping between columns and properties must be done...

    I have a problem when I want to add an association between two domain classes. I'm trying to link both field with the same type (Int16), Action.ActionTypeId => ActionType.Id, the parent one (ActionType.Id) having identity at "true" (cf. capture 1).

    Nothing appear in the dialog box (cf. capture 2): I don't see any field.

    Maybe I misunderstand the usage of the designer... :)

    I'm using VS 2010 SP1 with Telerik-OpenAccess-ORM-trial-2011.1.325.1.

    Thanks in advance!

  2. Zoran
    Zoran avatar
    534 posts

    Posted 31 Mar 2011 Link to this post

    Hi Pierick Mellerin,

     At the moment it is not possible to configure the association manually unless you have a table mapped to your classes and columns mapped to your properties. Otherwise, even though you do not see the members for selection - just clicking OK will create an Association that will automatically be configured by OpenAccess and it will still serve the purposes of navigation. You should just start the Update Schema From Model wizard so that the tables are created in the database, from this point on OpenAccess will automatically manage your association in the runtime.

    All the best,
    the Telerik team
Back to Top