This method is invoked when the ISessionFactoryHolder instance needs a session instance. Instead of creating one it interrogates the active scope for one. The scope implementation must check if it has a session registered for the given key. TransactionScope..::RegisterSession(Object, ISession)

Namespace: Castle.ActiveRecord
Assembly:  Castle.ActiveRecord (in Castle.ActiveRecord.dll)
Version: 1.0.3.0

Syntax

C#
public override bool IsKeyKnown(
	Object key
)

Parameters

key
Object
an object instance

Return Value

true if the key exists within this scope instance

See Also