<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : parent child insertion record with (Oracle)</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : parent child insertion record with (Oracle)</description>
  <pubDate>Wed, 10 Jun 2026 17:30:01 -700</pubDate>
  <lastBuildDate>Mon, 06 Sep 2010 04:11:14 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=2121</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>parent child insertion record with (Oracle) : OK.    Thanks very much </title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2121&amp;PID=8369#8369</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=911" rel="nofollow">Molinari</a><br /><strong>Subject:</strong> 2121<br /><strong>Posted:</strong> 06-Sep-2010 at 4:11am<br /><br />OK.<br /><br />  Thanks very much]]>
   </description>
   <pubDate>Mon, 06 Sep 2010 04:11:14 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2121&amp;PID=8369#8369</guid>
  </item> 
  <item>
   <title>parent child insertion record with (Oracle) : In theory choosing the right data...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2121&amp;PID=8359#8359</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 2121<br /><strong>Posted:</strong> 03-Sep-2010 at 3:24pm<br /><br />In theory choosing the right data type for properties in the CSDL is the responsibility of the Oracle provider, so check with Devart to see if this is a known problem or has a workaround.]]>
   </description>
   <pubDate>Fri, 03 Sep 2010 15:24:48 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2121&amp;PID=8359#8359</guid>
  </item> 
  <item>
   <title>parent child insertion record with (Oracle) : I would like to ask one more thing...  Rather...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2121&amp;PID=8355#8355</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=911" rel="nofollow">Molinari</a><br /><strong>Subject:</strong> 2121<br /><strong>Posted:</strong> 03-Sep-2010 at 1:39pm<br /><br />I would like to ask one more thing...<br /><br />Rather every time update a EDMX manually. Do you know any way that we can convert that decimal value to int. Automatically.<br /><br />because the DB has more than 200 table.<br /><br />you can not keep doing manually<br /><br /><br />Thanks...]]>
   </description>
   <pubDate>Fri, 03 Sep 2010 13:39:06 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2121&amp;PID=8355#8355</guid>
  </item> 
  <item>
   <title>parent child insertion record with (Oracle) : Problem Solved.  Problem was in...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2121&amp;PID=8353#8353</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=911" rel="nofollow">Molinari</a><br /><strong>Subject:</strong> 2121<br /><strong>Posted:</strong> 03-Sep-2010 at 1:24pm<br /><br />Problem Solved.<br /><br />Problem was in EDMX.<br /><br />Thanks very much.....]]>
   </description>
   <pubDate>Fri, 03 Sep 2010 13:24:58 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2121&amp;PID=8353#8353</guid>
  </item> 
  <item>
   <title>parent child insertion record with (Oracle) : Your entities are not defined...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2121&amp;PID=8351#8351</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 2121<br /><strong>Posted:</strong> 03-Sep-2010 at 12:14pm<br /><br />Your entities are not defined correctly.<DIV>&nbsp;</DIV><DIV>VENDA.VENDAID should have the StoreGeneratedPattern attribute in both SSDL and CSDL.&nbsp; This is the parent entity, and its ID is assigned by the database when a record is inserted.</DIV><DIV>&nbsp;</DIV><DIV>ITEMVENDA.FK_VENDAID should not have&nbsp;the StoreGeneratedPattern attribute in either SSDL or CSDL.&nbsp; This is a foreign key field, and the value will come via your code and DevForce, when you do something like anItemVenda.Venda = aVenda.</DIV><DIV>&nbsp;</DIV><DIV>To make these changes you will likely need to manually edit the XML in the EDMX.</DIV>]]>
   </description>
   <pubDate>Fri, 03 Sep 2010 12:14:16 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2121&amp;PID=8351#8351</guid>
  </item> 
  <item>
   <title>parent child insertion record with (Oracle) : hey i am uploding my EDMX  could...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2121&amp;PID=8347#8347</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=911" rel="nofollow">Molinari</a><br /><strong>Subject:</strong> 2121<br /><strong>Posted:</strong> 03-Sep-2010 at 11:24am<br /><br />hey i am uploding my EDMX<br /><br />could you see the problem. please.<br /><br /><a href="uploads/911/edmx.txt" target="_blank">edmx.txt</a><br /><br /><img src="uploads/911/imagemEDMX.png" border="0" /><br /><br /><br />Thanks by attention]]>
   </description>
   <pubDate>Fri, 03 Sep 2010 11:24:06 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2121&amp;PID=8347#8347</guid>
  </item> 
  <item>
   <title>parent child insertion record with (Oracle) : DevForce is agnostic regarding...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2121&amp;PID=8345#8345</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 2121<br /><strong>Posted:</strong> 03-Sep-2010 at 11:10am<br /><br />DevForce is agnostic regarding the actual database and provider used, since all database access is done through the Entity Framework.&nbsp; It's likely that the problem is with the provider, so please check both the CSDL and SSDL definitions of this entity in the EDMX to see that the StoreGeneratedPattern is set correctly on the ID property.&nbsp; You can post or upload your EDMX here if you have any questions.]]>
   </description>
   <pubDate>Fri, 03 Sep 2010 11:10:27 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2121&amp;PID=8345#8345</guid>
  </item> 
  <item>
   <title>parent child insertion record with (Oracle) : Hi thanks for reply My ID not...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2121&amp;PID=8344#8344</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=911" rel="nofollow">Molinari</a><br /><strong>Subject:</strong> 2121<br /><strong>Posted:</strong> 03-Sep-2010 at 10:51am<br /><br />Hi thanks for reply<br />My ID not always storing value 0<br /><br />I am using Devart provider v5.60 for oracle.<br /><br />Why I have problem with oracle and its working good with MS SQL Server<br />I am facing other problem of parent child insertion in oracle.<br /><br />Is DevForce much not confirmtable with Oracle?<br /><br />I testing and occurred this error :<br /><br /> A depended property in a ReferentialConstraint is mapped to a store-generated column. Column:FK_VENDAID!!!<br /><br />]]>
   </description>
   <pubDate>Fri, 03 Sep 2010 10:51:26 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2121&amp;PID=8344#8344</guid>
  </item> 
  <item>
   <title>parent child insertion record with (Oracle) : Can you check the ITEMVENDA ID...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2121&amp;PID=8340#8340</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 2121<br /><strong>Posted:</strong> 03-Sep-2010 at 9:18am<br /><br />Can you check the ITEMVENDA ID assignment after adding each entity - is the ID always 0? If so, then it sounds like the ID might not be recognized as an "auto-increment" or store-generated ID.&nbsp; <DIV></DIV><DIV></DIV><DIV>&nbsp;</DIV><DIV>In the CSDL section of your EDMX, check that the ID property for ITEMVENDA indicates it is store generated.&nbsp; For example, it should look something like this:</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Property Name="ITEMVENDA_ID" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" /&gt;</DIV><DIV>&nbsp;</DIV><DIV>If the StoreGeneratedPattern is not in the entity definition in the CSDL, but is defined for the entity in the SSDL, then this is a problem with the EF Oracle provider.&nbsp; Which provider are you using?</DIV>]]>
   </description>
   <pubDate>Fri, 03 Sep 2010 09:18:27 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2121&amp;PID=8340#8340</guid>
  </item> 
  <item>
   <title>parent child insertion record with (Oracle) : Hi There  I catch up with other...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=2121&amp;PID=8335#8335</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=911" rel="nofollow">Molinari</a><br /><strong>Subject:</strong> 2121<br /><strong>Posted:</strong> 03-Sep-2010 at 7:48am<br /><br />Hi There<br /><br />I catch up with other Database Problem.<br />I am working with parent and child and below code works fine with MS SQL SERVER<br />But Throwing Exception in  Oracle<br /><br />My aim is to Insert  one record after another record.Its works fine when I insert single record<br />but if I try to insert another one getting error.<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;var mgr = new Entities();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for (int i = 0; i &lt; 10; i++)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  ITEMVENDA c = new ITEMVENDA() {  NOME = "DEV " + i,&nbsp;&nbsp;&nbsp;VALORUNIT = 11, FK_VENDAID = 43 };<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  mgr.AddEntity(c);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mgr.SaveChangesAsync(op =&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  if (op.IsCompleted)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MessageBox.Show("Sucess");<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  else<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MessageBox.Show(op.Error.Message);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;});<br /><br />Excepyion:-&nbsp;&nbsp;&nbsp;An entity with this key: ITEMVENDA: 0 already exists in this EntityManage<br />]]>
   </description>
   <pubDate>Fri, 03 Sep 2010 07:48:26 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=2121&amp;PID=8335#8335</guid>
  </item> 
 </channel>
</rss>