using (var myContext = new DataContext()) { myContext.TABLE_NAME.FirstOrDefault(x=> x.id== 1).Name = "New Name"; myContext.SaveChanges(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)