I recently upgraded an application that uses LINQ and had to make some modifications. If you change the following methods, LINQ to SQL .dbml and a Web.Config file then you should be in good shape.
(1)
There were four methods that have been renamed ( Add(), AddAll(), Remove() and RemoveAll() ).
|
Original Beta2 LINQ Method
|
New LINQ Method
|
|
Add()
|
InsertOnSubmit()
|
|
AddAll()
|
InsertAllOnSubmit()
|
|
Remove()
|
DeleteOnSubmit()
|
|
RemoveAll()
|
DeleteAllOnSubmit()
|
(2)
Change the encoding in the .dbml file
<?xml version="1.0" encoding="utf-16"?>
to
<?xml version="1.0" encoding="utf-8"?>
(3)
Change the assembly in the web.config file
<add assembly="System.Data.DataSetExtensions,
Version=2.0.0.0, Culture=neutral,
PublicKeyToken=B77A5C561934E089"/>
to
<add assembly="System.Data.DataSetExtensions,
Version=3.5.0.0, Culture=neutral,
PublicKeyToken=B77A5C561934E089"/>
Cheers,
Carlos