Occurs before changes are submitted.

Namespace:  C1.Silverlight.Data.RiaServices
Assembly:  C1.Silverlight.Data.Entity (in C1.Silverlight.Data.Entity.dll)

Syntax

C#
public event EventHandler<CancelEventArgs> SavingChanges
Visual Basic
Public Event SavingChanges As EventHandler(Of CancelEventArgs)

Remarks

This event is raised from the SaveChanges()()()() method and allows a handler to cancel the operation before it begins. When a handler sets Cancel to True, the operation will be aborted and a subsequent SavedChanges event will not be raised.

See Also