Computes the set of modified objects to be inserted, updated, or deleted, and executes the appropriate commands to implement the changes to the database.
|
| Name | Description |
|---|
.gif) | SubmitChanges()()() | Computes the set of modified objects to be inserted, updated, or deleted, and executes the appropriate commands to implement the changes to the database. |
.gif) | SubmitChanges(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
If override methods are present for insert, update, or delete, SubmitChanges executes these methods instead of the default LINQ to SQL commands.
Reference