Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 671 Bytes

Update.md

File metadata and controls

19 lines (11 loc) · 671 Bytes

SQL Server UPDATE

EF does a thorough work to track entity state. In cases where the fact of change is not clear, it's usually better to let EF to manage the update.

ELINQ (pure SQL) is preferred when we don't want to retrieve the entity or a bulk update is needed.

1) Update a single column in all rows example

2) Update multiple columns example


< BACK | HOME