In datatables with ADO.NET an updatecommand updates full row.That means that even if you change 1 cell all collumns of the row would be updated... This is not the problem always.
However although reading from msdn i couldnt find whether this this true for Entity Framework. Updating a property would create a full update sql query or only for the column ?
Asked
Active
Viewed 735 times
2

GorillaApe
- 3,611
- 10
- 63
- 106
2 Answers
1
According to this tested and verified answer How to update only one field using Entity Framework? only updated fields are updated in sql not the entire object.

Community
- 1
- 1

Muhammad Hasan Khan
- 34,648
- 16
- 88
- 131
0
Hasan is correct, only changed fields are updated and this is easy to confirm by tracing the SQL in the SQL Profiler (or equivalent tool)

E.J. Brennan
- 45,870
- 7
- 88
- 116