Concrete implementation of a Session, also the central, organizing component of Hibernate's internal implementation.

Namespace:  NHibernate.Impl
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
<SerializableAttribute> _
Public NotInheritable Class SessionImpl _
	Implements ISessionImplementor, ISession, IDisposable, ISerializable,  _
	IDeserializationCallback
C#
[SerializableAttribute]
public sealed class SessionImpl : ISessionImplementor, 
	ISession, IDisposable, ISerializable, IDeserializationCallback
Visual C++
[SerializableAttribute]
public ref class SessionImpl sealed : ISessionImplementor, 
	ISession, IDisposable, ISerializable, IDeserializationCallback
JavaScript
NHibernate.Impl.SessionImpl = function();

Type.createClass(
	'NHibernate.Impl.SessionImpl',
	null,
	NHibernate.Engine.ISessionImplementor,
	NHibernate.ISession,
	IDisposable,
	ISerializable,
	IDeserializationCallback);

Remarks

Exposes two interfaces: ISession itself, to the application and ISessionImplementor to other components of hibernate. This is where the hard stuff is... NOT THREADSAFE

Inheritance Hierarchy

System..::.Object
  NHibernate.Impl..::.SessionImpl

See Also