One-to-one relationships - adding record to child table

2 posts, 1 answers
  1. Support Team
    Support Team avatar
    15 posts
    Member since:
    Jul 2006

    Posted 15 Feb 2012 Link to this post

    I've been trying to figure this out, but haven't had any success.

    I have a vertical inheritance set up correctly between Folders (parent) and Indices (child).  The issue I'm running into is when I have a Folder object that exists in the Folders table, but there is no linked record in the Indices table.  If I try to simply add a new Index (child) record, OA tries to insert a new record in the Indices table and the Folders table.  Instead, I need to simply insert an associated record in the Indices table that is a child of the Folder that I already know exists.

    How can I accomplish this?  I haven't figured out any way to create a new child item from the parent object at this point.

  2. Answer
    Zoran avatar
    534 posts

    Posted 16 Feb 2012 Link to this post

    Hi Drew,

     I believe we can continue the discussion on this topic in your support thread you have sent with the same question as in this forum thread.

    All the best,
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top