Share via


EntitySet<TEntity>.OnChanging event

Raised before a change to this EntitySet<TEntity> object.

Namespace:  Microsoft.SharePoint.Linq
Assembly:  Microsoft.SharePoint.Linq (in Microsoft.SharePoint.Linq.dll)

Syntax

'Declaration
Public Event OnChanging As EventHandler
'Usage
Dim instance As EntitySet
Dim handler As EventHandler

AddHandler instance.OnChanging, handler
public event EventHandler OnChanging

Remarks

Typically, this handler is called, possibly through a series of nested calls, by the set accessor of an EntitySet<TEntity> property just before it sets the property’s value.

See also

Reference

EntitySet<TEntity> class

EntitySet<TEntity> members

Microsoft.SharePoint.Linq namespace