Telerik Forums RSShttp://www.telerik.com/urn:uuid:350cde24-6fb5-4655-b787-2aa26862ef7ehttp://www.telerik.com/forums/permalink/JN4MNbVvVUa3hyqiaGLvfgCan't insert a Child dataHello,<br />
<br />
Could you give us more information about your scenario? What is the error which is thrown when you add a child in the table? <br />
<br />
From the description which you sent you have two foreign key constraint in the child table, but you mentioned that you are adding an entity only in the one of the parent tables. Do you have an existing entity in the other parent table that you are linking?<br />
<br />
I am looking forward to hearing from you.<br />
<br />
Regards,<br />
Boris Georgiev <br />
Telerik
<div class="forumBaloonTop">&nbsp;</div>
<div class="forumBaloon">Check out the <a href="http://www.telerik.com/blogs/data-access-vnext-is-our-most-powerful-version-yet"><strong>latest announcement</strong></a> about Telerik Data Access vNext as a <strong>powerful framework </strong>able to solve core development problems.</div>urn:uuid:2d4acf96-2c7e-4ab8-8118-978450560d32http://www.telerik.com/forums/permalink/ls9KLX4suEqBGJeEUFYNMgCan't insert a Child data<p>I have to table,</p>
<p>MainTableA - id, description</p>
<p>TableAhasa- MainTableA_id(FK), OtherTableB_id(FK)</p>
<p>&nbsp;</p>
<p>I got an error when doing inserting new record in child</p>
<p>Firstly, I inserted in a MainTableA (Flush Changes ) and got its id</p>
<p>Then, I inserted into the TableAhasa (It failed here)</p>
<p>How can I solve this problem? I would like to maintain my logic. I tried to set the "Is Managed" to true. in the relationship still didn't work. Any idea.</p>