Uhm... please don't omit the single most valuable piece of information in your postings ;) . The message should tell you that the problem lies in the property setter - LINQ queries simply can't update data.
Query the desired entities, manipulate them on the client and let the change tracking magic of your LINQ provider do the rest.

Something like

1
2
3
4
5
let dc = YourDataContext()
let customer = query <@ seq { for c in dc.Customers do if c.Id = 3 then yield c } @>

customer.Foo <- 3
dc.SubmitChanges()
By on 10/13/2009 10:19 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper