[Missing <summary> documentation for "M:NHibernate.Cfg.ConfigurationExtensions.CurrentSessionContext``1(NHibernate.Cfg.Configuration)"]

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

Syntax

C#
public static Configuration CurrentSessionContext<TCurrentSessionContext>(
	this Configuration configuration
)
where TCurrentSessionContext : ICurrentSessionContext
Visual Basic
<ExtensionAttribute> _
Public Shared Function CurrentSessionContext(Of TCurrentSessionContext As ICurrentSessionContext) ( _
	configuration As Configuration _
) As Configuration
Visual C++
[ExtensionAttribute]
public:
generic<typename TCurrentSessionContext>
where TCurrentSessionContext : ICurrentSessionContext
static Configuration^ CurrentSessionContext(
	Configuration^ configuration
)

Parameters

configuration
Type: NHibernate.Cfg..::..Configuration

[Missing <param name="configuration"/> documentation for "M:NHibernate.Cfg.ConfigurationExtensions.CurrentSessionContext``1(NHibernate.Cfg.Configuration)"]

Type Parameters

TCurrentSessionContext

[Missing <typeparam name="TCurrentSessionContext"/> documentation for "M:NHibernate.Cfg.ConfigurationExtensions.CurrentSessionContext``1(NHibernate.Cfg.Configuration)"]

Return Value

[Missing <returns> documentation for "M:NHibernate.Cfg.ConfigurationExtensions.CurrentSessionContext``1(NHibernate.Cfg.Configuration)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Configuration. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also