Inheritance: RecordModifiedEventArgs
Ejemplo n.º 1
0
        bool DeleteCallback(int recordsAffected, Exception exception)
        {
            AfterRecordDeletedEventArgs eAfterRecordDeleted = new AfterRecordDeletedEventArgs(record, recordsAffected, exception, keys);

            this.OnAfterRecordDeleted(eAfterRecordDeleted);

            return(eAfterRecordDeleted.ExceptionHandled);
        }
Ejemplo n.º 2
0
        protected virtual void OnAfterRecordDeleted(AfterRecordDeletedEventArgs e)
        {
            AfterRecordDeletedEventHandler handler = (AfterRecordDeletedEventHandler)Events[EventAfterRecordDeleted];

            if (handler != null)
            {
                handler(this, e);
            }
        }
Ejemplo n.º 3
0
        bool DeleteCallback(int recordsAffected, Exception exception)
        {
            if (confirmation != null && recordsAffected > 0)
            {
                confirmation.ConfirmRecord();
            }

            AfterRecordDeletedEventArgs eAfterRecordDeleted = new AfterRecordDeletedEventArgs(record, recordsAffected, exception, keys, confirmation);

            this.OnAfterRecordDeleted(eAfterRecordDeleted);

            return(eAfterRecordDeleted.ExceptionHandled);
        }
Ejemplo n.º 4
0
        protected virtual void OnAfterRecordDeleted(AfterRecordDeletedEventArgs e)
        {
            AfterRecordDeletedEventHandler handler = (AfterRecordDeletedEventHandler)Events[EventAfterRecordDeleted];

            if (handler != null)
            {
                handler(this, e);
            }
        }
Ejemplo n.º 5
0
        bool DeleteCallback(int recordsAffected, Exception exception)
        {
            AfterRecordDeletedEventArgs eAfterRecordDeleted = new AfterRecordDeletedEventArgs(record, recordsAffected, exception, keys);
            this.OnAfterRecordDeleted(eAfterRecordDeleted);

            return eAfterRecordDeleted.ExceptionHandled;
        }
Ejemplo n.º 6
0
        bool DeleteCallback(int recordsAffected, Exception exception)
        {
            if (confirmation != null && recordsAffected > 0)
            {
                confirmation.ConfirmRecord();
            }

            AfterRecordDeletedEventArgs eAfterRecordDeleted = new AfterRecordDeletedEventArgs(record, recordsAffected, exception, keys, confirmation);
            this.OnAfterRecordDeleted(eAfterRecordDeleted);

            return eAfterRecordDeleted.ExceptionHandled;
        }