How to write an update query in EntityFramework using LINQ to Entities?
EDIT: And if it is possible how this query can be written in Entity SQL?
How to write an update query in EntityFramework using LINQ to Entities?
EDIT: And if it is possible how this query can be written in Entity SQL?
LINQ does not support update operation. All you can do is fetch entity from database, change it's properties and submit changes back into database.
There are 2 aternatives:
Neither LINQ to Entities (nor LINQ to anything else) nor ESQL support updates.