Dot net framework 3.5 breaks the LINQ to SQL code. Here are the changes

Hi,

With the release of dot net framework 3.5, its time to get work with LINQ in live projects. For those who have used LINQ in the beta 2 version can use the previous code in the latest version.

But there are small breaking changes that have been made in the framework, which needs to be incorporated in the code of the beta version. Here are some of the changes that need to be made from the previous version

In the LINQ to SQL the Add method has been changed to InsertOnSubmit. Similarly AddAll method name has been changed to InsertAllOnSubmit. The remove and RemoveAll method have also been changed to DeleteOnSubmit and DeleteAllOnSubmit

Another breaking change is that the

<add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/>

[Note: The version has been changed

Vikram


Share this post   Email it |  digg it! |  reddit! |  bookmark it!

Feedback

Please post your comments:

Name:  
Email (optional): Your email address will not be posted.
URL (optional):
Comments: HTML will be ignored, URLs will be converted to hyperlinks  
Enter the text you see in the box:
 
Copyright © 2006 - 2008 Vikram Lakhotia