LINQ to SQL: Changes since Beta 2
So, Visual Studio 2008 is now in RTM, which also means that LINQ has moved out of Beta. Yay.
However, I've found some breaking changes between the Beta 2 and RTM bits:
- Table<T> no longer has a method Remove() - this has been renamed to DeleteOnSubmit(). This apparently is to "better convey that the updates are deferred until the call to DataContext.SubmitChanges()" (MSDN Forums)
- The XML declaration of the .DBML file has changed, in Beta 2 this was:
<?xml version="1.0" encoding="utf-16"?>
In the RTM this has changed to:
<?xml version="1.0" encoding="utf-8"?>
Curiously, this UTF-16 caused VS to complain about unicode support, and wouldn't open the design surface. Changing it to UTF-8 fixed the issue.
I'll post more as I find them.