SaveChanges

The DbContext method that writes all tracked inserts, updates and deletes to the database in one transaction.

In more detail

It inspects the change tracker and sends one command per insert, update or delete. Await SaveChangesAsync and pass the request's cancellation token.

Related terms

Taught in

References