Example #1
0
        public void Persisted(INakedObject nakedObject, ISession session, ILifecycleManager lifecycleManager, IMetamodelManager manager)
        {
            IAuditor auditor = GetAuditor(nakedObject, lifecycleManager, manager);

            auditor.ObjectPersisted(session.Principal, nakedObject.GetDomainObject());
        }
        public void Persisted(INakedObjectAdapter nakedObjectAdapter, ISession session, ILifecycleManager lifecycleManager)
        {
            IAuditor auditor = GetAuditor(nakedObjectAdapter, lifecycleManager);

            auditor.ObjectPersisted(session.Principal, nakedObjectAdapter.GetDomainObject());
        }