次の方法で共有


SavingToStorage Method

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Called prior to saving a mapped class instance to storage to allow custom pre-save marshaling.

Namespace:  Microsoft.CommerceServer.Runtime
Assembly:  Microsoft.CommerceServer.Runtime (in Microsoft.CommerceServer.Runtime.dll)

Syntax

'Declaration
Public Overridable Sub SavingToStorage
'Usage
Dim instance As MappedStorageBase

instance.SavingToStorage()
public virtual void SavingToStorage()
public:
virtual void SavingToStorage()
public function SavingToStorage()

Remarks

This method is called immediately prior to a mapped class instance being marshaled to mapped storage. It can be used to prepare the object for the save operation. SavedToStorage will be called after the save marshaling is complete to allow the class instance to undo any custom marshaling steps.

Derived classes are not required to implement an override of this method. The default behavior of the base class is to do nothing.

Permissions

See Also

Reference

MappedStorageBase Class

MappedStorageBase Members

Microsoft.CommerceServer.Runtime Namespace

SavedToStorage

LoadedFromStorage