LINQ in Action roller

Linq To Sql Delete

Hello people: First of all forgiveness for my English. I am working with Linq to SQL, Visual Studio 2008 and SQL Server 2000. When you delete a record and then go back to Insert (ie, insert a record with the same primary key) and I run SubmitChange it generates an key duplicate exception. I am reviewing the SQL commands generated by linq, and I see that attempts to run first insert command, and then delete command. I imagine that this is the problem because I expected the first run delete and then Read More...
Published Wednesday, December 26, 2007 9:48 PM by MSDN Forums: LINQ Project General
Anonymous comments are disabled

Featured Item

This Blog

Sponsoring

Syndication