IdeaBlade DevForce 2010 Help Reference
ExecuteSave Method
See Also  Send Feedback
IdeaBlade.EntityModel.Server Assembly > IdeaBlade.EntityModel.Server Namespace > EntityServerSaveInterceptor Class : ExecuteSave Method



May be overridden to perform any logic both immediately before and after a save is executed.

Syntax

Visual Basic (Declaration) 
Protected Overridable Function ExecuteSave() As Boolean
Visual Basic (Usage)Copy Code
Dim instance As EntityServerSaveInterceptor
Dim value As Boolean
 
value = instance.ExecuteSave()
C# 
protected virtual bool ExecuteSave()
C++/CLI 
protected:
virtual bool ExecuteSave(); 

Remarks

Before save operations can include adding, modifying, deleting or removing entities from the local EntityManager. You must make sure to call base.ExecuteSave() to insure that the underlying save does occur.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.