Ejemplo n.º 1
0
        protected virtual void OnAfterRecordUpdated(AfterRecordUpdatedEventArgs e)
        {
            AfterRecordUpdatedEventHandler handler = (AfterRecordUpdatedEventHandler)Events[EventAfterRecordUpdated];

            if (handler != null)
            {
                handler(this, e);
            }
        }
Ejemplo n.º 2
0
        bool UpdateCallback(int recordsAffected, Exception exception)
        {
            if (confirmation != null && recordsAffected > 0)
            {
                confirmation.ConfirmRecord();
            }
            AfterRecordUpdatedEventArgs eAfterRecordUpdated = new AfterRecordUpdatedEventArgs(record, recordsAffected, exception, keys, values, oldValues, confirmation);

            this.OnAfterRecordUpdated(eAfterRecordUpdated);
            return(eAfterRecordUpdated.ExceptionHandled);
        }