Chili.Opf3 Send comments on this topic.
Persisting Event
See Also 
Chili.Opf3 Namespace > ObjectContext Class : Persisting Event




Event fired before an object is persisted (inserted, updated or deleted).

Syntax

Visual Basic (Declaration) 
Public Event Persisting() As EventHandler(Of BeforeObjectPersistingEventArgs)
Visual Basic (Usage)Copy Code
Dim instance As ObjectContext
Dim handler As EventHandler(Of BeforeObjectPersistingEventArgs)
 
AddHandler instance.Persisting, handler
C# 
public event EventHandler<BeforeObjectPersistingEventArgs> Persisting()
Managed Extensions for C++ 
public: __event EventHandler<BeforeObjectPersistingEventArgs>* Persisting();
C++/CLI 
public:
event EventHandler<BeforeObjectPersistingEventArgs>^ Persisting();

Remarks

This event is fired before an object is persisted in the storage.

Requirements

Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family

See Also