ChangeAction Enumeration
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Describes the type of change the entity will undergo when changes are submitted to the database.
Namespace: System.Data.Linq
Assembly: System.Data.Linq (in System.Data.Linq.dll)
Syntax
'Declaration
Public Enumeration ChangeAction
public enum ChangeAction
Members
Member name | Description | |
---|---|---|
None | The entity will not be submitted. | |
Delete | The entity will be deleted. | |
Insert | The entity will be inserted. | |
Update | The entity will be updated. |
Remarks
Use with OnValidate() in LINQ to SQL applications to specify or omit validation based on the type of change being submitted.
Version Information
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.