Provides a current session for the current OperationContext in WCF. Works only during the lifetime of a WCF operation.

Namespace: NHibernate.Context
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public class WcfOperationSessionContext : MapBasedSessionContext
Visual Basic
Public Class WcfOperationSessionContext _
	Inherits MapBasedSessionContext
Visual C++
public ref class WcfOperationSessionContext : public MapBasedSessionContext

Inheritance Hierarchy

System..::..Object
  NHibernate.Context..::..CurrentSessionContext
    NHibernate.Context..::..MapBasedSessionContext
      NHibernate.Context..::..WcfOperationSessionContext

See Also