iBATIS.NET Class Library DataMapper V1.6.1, DataAccess V1.9.1

SqlMapper.SessionStore Property

Allow to set a custom session store like the HybridWebThreadSessionStore

[Visual Basic]
NotOverridable Public Property SessionStore As  _
    Implements ISqlMapper.
[C#]
public ISessionStore SessionStore {set;}

Implements

ISqlMapper.

Remarks

Set it after the configuration and before use of the SqlMapper

Example

sqlMapper.SessionStore = new HybridWebThreadSessionStore( sqlMapper.Id );

See Also

SqlMapper Class | IBatisNet.DataMapper Namespace