<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Insert Master Detail Data With LINQ To SQL</title>
	<atom:link href="http://www.onedotnetway.com/insert-master-detail-data-with-linq-to-sql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.onedotnetway.com/insert-master-detail-data-with-linq-to-sql/</link>
	<description>Everything .Net</description>
	<lastBuildDate>Fri, 26 Feb 2010 15:39:54 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ali Arjmandi</title>
		<link>http://www.onedotnetway.com/insert-master-detail-data-with-linq-to-sql/comment-page-1/#comment-17698</link>
		<dc:creator>Ali Arjmandi</dc:creator>
		<pubDate>Wed, 17 Feb 2010 08:28:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.onedotnetway.com/insert-master-detail-data-with-linq-to-sql/#comment-17698</guid>
		<description>Hi
Thank you for your comment. But what&#039;s your solution for editing items ?</description>
		<content:encoded><![CDATA[<p>Hi<br />
Thank you for your comment. But what&#8217;s your solution for editing items ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deepak</title>
		<link>http://www.onedotnetway.com/insert-master-detail-data-with-linq-to-sql/comment-page-1/#comment-17597</link>
		<dc:creator>Deepak</dc:creator>
		<pubDate>Mon, 15 Feb 2010 08:17:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.onedotnetway.com/insert-master-detail-data-with-linq-to-sql/#comment-17597</guid>
		<description>I think your code expects PK column in your table to be identity.</description>
		<content:encoded><![CDATA[<p>I think your code expects PK column in your table to be identity.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JohnT</title>
		<link>http://www.onedotnetway.com/insert-master-detail-data-with-linq-to-sql/comment-page-1/#comment-17493</link>
		<dc:creator>JohnT</dc:creator>
		<pubDate>Sat, 13 Feb 2010 17:19:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.onedotnetway.com/insert-master-detail-data-with-linq-to-sql/#comment-17493</guid>
		<description>I have created the database and copy/pasted the code (just changed the name of the context) the rest is unchanged and I&#039;m getting error:

DuplicateKeyException was unhandled
  Message=Cannot add an entity with a key that is already in use.
  Source=System.Data.Linq

Any idea what might be the problem?

Thanks in advance.
John,</description>
		<content:encoded><![CDATA[<p>I have created the database and copy/pasted the code (just changed the name of the context) the rest is unchanged and I&#8217;m getting error:</p>
<p>DuplicateKeyException was unhandled<br />
  Message=Cannot add an entity with a key that is already in use.<br />
  Source=System.Data.Linq</p>
<p>Any idea what might be the problem?</p>
<p>Thanks in advance.<br />
John,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: More Article</title>
		<link>http://www.onedotnetway.com/insert-master-detail-data-with-linq-to-sql/comment-page-1/#comment-16589</link>
		<dc:creator>More Article</dc:creator>
		<pubDate>Thu, 28 Jan 2010 06:37:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.onedotnetway.com/insert-master-detail-data-with-linq-to-sql/#comment-16589</guid>
		<description>Thank you Very Helpful</description>
		<content:encoded><![CDATA[<p>Thank you Very Helpful</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deepak</title>
		<link>http://www.onedotnetway.com/insert-master-detail-data-with-linq-to-sql/comment-page-1/#comment-13245</link>
		<dc:creator>Deepak</dc:creator>
		<pubDate>Thu, 10 Dec 2009 22:34:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.onedotnetway.com/insert-master-detail-data-with-linq-to-sql/#comment-13245</guid>
		<description>Hi Graciela,

You DataContext already has the row that you inserted. As you are doing this from C#/VB.NET code you already know what you are inserting. 

I hope I understood your question. If not then can you please post an example and I&#039;ll be able to help you.</description>
		<content:encoded><![CDATA[<p>Hi Graciela,</p>
<p>You DataContext already has the row that you inserted. As you are doing this from C#/VB.NET code you already know what you are inserting. </p>
<p>I hope I understood your question. If not then can you please post an example and I&#8217;ll be able to help you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Graciela</title>
		<link>http://www.onedotnetway.com/insert-master-detail-data-with-linq-to-sql/comment-page-1/#comment-13238</link>
		<dc:creator>Graciela</dc:creator>
		<pubDate>Thu, 10 Dec 2009 21:01:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.onedotnetway.com/insert-master-detail-data-with-linq-to-sql/#comment-13238</guid>
		<description>Hi.
I&#039;m totally newbie with LINQ. I want to know how to display the row that we just added with the code (the last row on the table).
Thanks.</description>
		<content:encoded><![CDATA[<p>Hi.<br />
I&#8217;m totally newbie with LINQ. I want to know how to display the row that we just added with the code (the last row on the table).<br />
Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Holodak</title>
		<link>http://www.onedotnetway.com/insert-master-detail-data-with-linq-to-sql/comment-page-1/#comment-10048</link>
		<dc:creator>Scott Holodak</dc:creator>
		<pubDate>Fri, 25 Sep 2009 16:20:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.onedotnetway.com/insert-master-detail-data-with-linq-to-sql/#comment-10048</guid>
		<description>Any ideas how to insert an arbitrary number of CustomerDetail objects to that entity set via a nested LINQ expression?  I&#039;m trying to read XML document via Linq-to-XML and generate a Linq-to-SQL entity in one shot, but I can&#039;t figure out the syntax/if it&#039;s possible.</description>
		<content:encoded><![CDATA[<p>Any ideas how to insert an arbitrary number of CustomerDetail objects to that entity set via a nested LINQ expression?  I&#8217;m trying to read XML document via Linq-to-XML and generate a Linq-to-SQL entity in one shot, but I can&#8217;t figure out the syntax/if it&#8217;s possible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dew Drop &#8211; July 8, 2009 &#124; Alvin Ashcraft's Morning Dew</title>
		<link>http://www.onedotnetway.com/insert-master-detail-data-with-linq-to-sql/comment-page-1/#comment-6553</link>
		<dc:creator>Dew Drop &#8211; July 8, 2009 &#124; Alvin Ashcraft's Morning Dew</dc:creator>
		<pubDate>Wed, 08 Jul 2009 14:56:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.onedotnetway.com/insert-master-detail-data-with-linq-to-sql/#comment-6553</guid>
		<description>[...] Insert Master Detail Data with LINQ to SQL&#160;and&#160;Select Max Value with LINQ to SQL (Deepak Kapoor) [...]</description>
		<content:encoded><![CDATA[<p>[...] Insert Master Detail Data with LINQ to SQL&#160;and&#160;Select Max Value with LINQ to SQL (Deepak Kapoor) [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
