About
Profile picture Gokhan Demir,
a computer geek in Istanbul.

E-mail me Send mail


Photo Of The Day


  • Island at Twilight, South Africa, 2003

Calendar

<<  August 2008  >>
MoTuWeThFrSaSu
28293031123
45678910
11121314151617
18192021222324
25262728293031
1234567

View posts in large calendar

Pages


    Recent posts


    Recent comments


    Archive


    Authors


    Tags


    Categories


    Blogroll


    Disclaimer

    The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

    © Copyright 2008

    Sign in

    LINQ Beta2 to RTM Key Changes

    by Gokhan Demir 11/21/2007 12:11:00 AM

    I start to play with .Net framework 3.5 RTM. When i build my project which is developed with .net framework 3.5 beta 2 , i got some  weird linq errors. DataContext's add and remove methods causes these errors. These methods are renamed because they are confusing or misleading for many users. In linq model, until you call dataContext's SubmitChanges method nothing will removed or added even you previously mention it. Here is list of the changes :

    Previous Method
    (VS Beta1 and VS Beta2)

    Renamed Method
    (VS 2008 RTM)

    Add()

    InsertOnSubmit()

    AddAll()

    InsertAllOnSubmit()

    Remove()

    DeleteOnSubmit()

    RemoveAll()

    DeleteAllOnSubmit()


    For other changes, please read  Dinesh Kulkarni's post.

    Tags:

    .Net | C# | Linq

    Powered by BlogEngine.NET
    Designed by FYFI, Adapted by Gokhan Demir