Multiple choice technology platforms and products

Default method name created by Entity Framework to add \ update changes to database is

  1. AddUpdateChanges()

  2. Save()

  3. SaveChanges()

  4. InsertUpdateChanges()

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

The correct method name is SaveChanges(), which persists all pending changes to the database. This is the standard method on DbContext in Entity Framework. Options A and D are non-existent method names, while B (Save()) is incomplete - the actual method is SaveChanges().