Community

Updating Entity Framework Objects with Changed Data

(Peter Vogel) Assuming you’re using the latest version of Entity Framework, the easiest way to update your database is to use DbContext’s Entry class: It’s just two lines of code no matter how many properties your object has.




Facebooktwittergoogle_plusredditpinterestlinkedinmail