ChangeAction Enumeration

 

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)

type ChangeAction

Member nameDescription
Delete

The entity will be deleted.

Insert

The entity will be inserted.

None

The entity will not be submitted.

Update

The entity will be updated.

Use with OnValidate() in LINQ to SQL applications to specify or omit validation based on the type of change being submitted.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Return to top
Show: