共用方式為


DataContext.SubmitChanges Method

Include Protected Members
Include Inherited Members

Persists, to the content database, changes made by the current user to one or more lists.

Overload List

  Name Description
Public method SubmitChanges() Persists to the content database changes made by the current user to one or more lists; or, if a concurrency conflict is found, populates the ChangeConflicts property.
Public method SubmitChanges(ConflictMode) Persists to the content database changes made by the current user to one or more lists using the specified failure mode; or, if a concurrency conflict is found, populates the ChangeConflicts property.
Public method SubmitChanges(ConflictMode, Boolean) Persists, to the content database, changes made by the current user to one or more lists using the specified failure mode and the specified indication of whether the versions of changed list items should be incremented; or, if a concurrency conflict is found, populates the ChangeConflicts property.

Top

See Also

Reference

DataContext Class

DataContext Members

Microsoft.SharePoint.Linq Namespace