Contract for implementation of scopes.

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

Syntax

C#
public interface ISessionScope : IDisposable

Remarks

A scope can implement a logic that affects AR for the scope lifetime. Session cache and transaction are the best examples, but you can create new scopes adding new semantics.

The methods on this interface are mostly invoked by the ISessionFactoryHolder implementation

See Also