The ActiveRecordBase
class implements NHibernate's ILifecycle
interface. For more information on the methods involve, consult the NHibernate documentation.
Additionaly all ISession
instances are linked to an IInterceptor
implementation which ultimately invokes your ActiveRecord class instance. This is a fairly advanced usage.