Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

Can't insert a Child data

$
0
0

I have to table,

MainTableA - id, description

TableAhasa- MainTableA_id(FK), OtherTableB_id(FK)

 

I got an error when doing inserting new record in child

Firstly, I inserted in a MainTableA (Flush Changes ) and got its id

Then, I inserted into the TableAhasa (It failed here)

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.


Viewing all articles
Browse latest Browse all 94857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>