Share via


EntityRef<TEntity>.OnSync Event

Raised when the EntityRef<TEntity> object is synchronized with the entity it represents.

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

Syntax

'Declaration
Public Event OnSync As EventHandler(Of AssociationChangedEventArgs(Of TEntity))
'Usage
Dim instance As EntityRef
Dim handler As EventHandler(Of AssociationChangedEventArgs(Of TEntity))

AddHandler instance.OnSync, handler
public event EventHandler<AssociationChangedEventArgs<TEntity>> OnSync

See Also

Reference

EntityRef<TEntity> Class

EntityRef<TEntity> Members

Microsoft.SharePoint.Linq Namespace