I have an intermitent problem with Linq in Visual Studio "Orcas" beta 1. I have the following piece of code: Trade editTrade = ( from t in _db.Trades where t.Serial == serial select t).FirstOrDefault(); if (editTrade != null ) { editTrade.DateChecked = DateTime .Now; editTrade.CheckedBy = GetUserName(); _db.SubmitChanges(); } Depending on the recordĀ I will get a System.Data.Linq.ChangeConflictException stating that the row changed or didn't exist. I can't see anything hapenning in the database
Read More...