Export (0) Print
Expand All

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.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method 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.
Public method 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.

Community Additions

ADD
Show:
© 2014 Microsoft