.NET Framework Class Library
DataContext..::.SubmitChanges Method

Computes the set of modified objects to be inserted, updated, or deleted, and executes the appropriate commands to implement the changes to the database.

Overload List

  NameDescription
Public methodSubmitChanges()()()Computes the set of modified objects to be inserted, updated, or deleted, and executes the appropriate commands to implement the changes to the database.
Public methodSubmitChanges(ConflictMode)Sends changes that were made to retrieved objects to the underlying database, and specifies the action to be taken if the submission fails.
Top
Remarks

If override methods are present for insert, update, or delete, SubmitChanges executes these methods instead of the default LINQ to SQL commands.

See Also

Reference

Tags :


Page view tracker