C# Class Microsoft.Isam.Esent.Interop.Session

A class that encapsulates a JET_SESID in a disposable object.
Inheritance: Microsoft.Isam.Esent.Interop.EsentResource
Mostra file Open project: ayende/managed-esent Class Usage Examples

Public Methods

Method Description
End ( ) : void

Terminate the session.

Session ( JET_INSTANCE instance )

Initializes a new instance of the Session class. A new JET_SESSION is allocated from the given instance.

Protected Methods

Method Description
ReleaseResource ( ) : void

Free the underlying JET_SESID.

Method Details

End() public method

Terminate the session.
public End ( ) : void
return void

ReleaseResource() protected method

Free the underlying JET_SESID.
protected ReleaseResource ( ) : void
return void

Session() public method

Initializes a new instance of the Session class. A new JET_SESSION is allocated from the given instance.
public Session ( JET_INSTANCE instance )
instance JET_INSTANCE The instance to start the session in.