Obsolete. Occurs before a persistent object is saved in storage.
The BeforeSave event handler receives an argument of the ObjectManipulationEventArgs type. The following properties provide information specific to this event.
|Object||Gets the object currently being processed.|
|Session||Gets the session whose persistent object is currently being processed.|
The BeforeSave event is raised after the Session.Save method has been called. If a collection of persistent objects is saved, the BeforeSave event is raised for each persistent object in the collection. The event parameter's ObjectManipulationEventArgs.Object property identifies the persistent object currently being saved.