LINQ is not SQL. It is designed to query, not perform bulk CRUD. You can set
up LINQ to set up the objects and then set all to the value and update, but
this is a job I think would be better performed on the datbase personally.

Signature
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA
Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss
*************************************************
| Think outside the box!
*************************************************
> Is it possible to create following query in LINQ for SQL
>
> UPDATE Employee SET Salary= Salary * 1.5 WHERE Employee.Job='Developer'
> (Don't you like this query :-)?)
> Thanks,
> Shimon.
Andy - 14 Mar 2008 14:17 GMT
On Mar 13, 11:51 pm, "Cowboy \(Gregory A. Beamer\)"
<NoSpamMgbwo...@comcast.netNoSpamM> wrote:
> LINQ is not SQL. It is designed to query, not perform bulk CRUD. You can set
> up LINQ to set up the objects and then set all to the value and update, but
[quoted text clipped - 15 lines]
> > Thanks,
> > Shimon.
Well, that's true, but you can execute the OPs sql using the
DataContext.ExecuteCommand or DataContext.ExecuteQuery methods.