コード例 #1
0
 /// <summary/>
 /// <param name="event"/>
 public void OnPostInsert(PostInsertEvent @event)
 {
     Audit.Save(@event);
 }
コード例 #2
0
        /// <summary>
        /// Return true if the operation should be vetoed
        /// </summary>
        /// <param name="event"/>
        public bool OnPreDelete(PreDeleteEvent @event)
        {
            Audit.Save(@event);

            return(false);
        }