Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

SessionModelPersistenceMedium.SaveToMedium Method

Save the specified model object to session.

[Visual Basic]
Public NotOverridable Sub SaveToMedium( _
   ByVal context As Control, _
   ByVal modelToSave As Object _
) _
    Implements IModelPersistenceMedium.SaveToMedium
[C#]
public void SaveToMedium(
   Control context,
   object modelToSave
);

Parameters

context
the control context.
modelToSave
the model to save.

Implements

IModelPersistenceMedium.SaveToMedium

Remarks

The key used for storing the model into the session dictionary is obtained by calling GetKey

See Also

SessionModelPersistenceMedium Class | Spring.Web.UI Namespace | GetKey