Chili.Opf3 Send comments on this topic.
OnInserting Method
See Also 
Chili.Opf3 Namespace > ObjectContext Class : OnInserting Method




e
EventArgs of the routine.
Invoked before an object is inserted into the storage.

Syntax

Visual Basic (Declaration) 
Protected Overridable Sub OnInserting( _
   ByVal e As ObjectPersistingEventArgs _
) 
Visual Basic (Usage)Copy Code
Dim instance As ObjectContext
Dim e As ObjectPersistingEventArgs
 
instance.OnInserting(e)
C# 
protected virtual void OnInserting( 
   ObjectPersistingEventArgs e
)
Managed Extensions for C++ 
protected: virtual void OnInserting( 
   ObjectPersistingEventArgs* e
) 
C++/CLI 
protected:
virtual void OnInserting( 
   ObjectPersistingEventArgs^ e
) 

Parameters

e
EventArgs of the routine.

Requirements

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

See Also