Multiple choice technology programming languages

Method used in LINQ to SQL for database updation

  1. Commit();

  2. Update();

  3. SubmitChanges();

  4. CommitTransaction();

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

LINQ to SQL uses SubmitChanges() to write pending insert, update, and delete operations to the database. The framework tracks changes to entities and automatically generates and executes appropriate SQL commands when SubmitChanges() is called. The other methods are not part of LINQ to SQL.