Raises the Saving event. This method is called just before
an entity is saved to the database (create or update). Override to perform
custom save processing or optionally cancel the save operation.
Namespace:
Mindscape.LightSpeedAssembly: Mindscape.LightSpeed (in Mindscape.LightSpeed.dll)
Version: 4.0.0.0 (4.0.0.0)
Syntax
C# |
---|
protected virtual void OnSaving( CancelEventArgs e ) |
Visual Basic (Declaration) |
---|
Protected Overridable Sub OnSaving ( _ e As CancelEventArgs _ ) |
Parameters
- e
- Type: System.ComponentModel..::.CancelEventArgs
The CancelEventArgs instance containing the event data.