次の方法で共有


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
Supported by Silverlight for Windows Phone None The entity will not be submitted.
Supported by Silverlight for Windows Phone Delete The entity will be deleted.
Supported by Silverlight for Windows Phone Insert The entity will be inserted.
Supported by Silverlight for Windows Phone 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.

See Also

Reference