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