in

System.Data.SQLite

An open source ADO.NET provider for the SQLite database engine

Where did 'SQLiteRowUpdatedEventHandler' go ?

Last post 09-15-2005 11:32 PM by Robert Simpson. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 09-15-2005 7:48 PM

    Where did 'SQLiteRowUpdatedEventHandler' go ?

    - Mike
  • 09-15-2005 11:32 PM In reply to

    Re: Where did 'SQLiteRowUpdatedEventHandler' go ?

    Since I didn't have to bother with backward compatibility with a previous dataprovider like the other MS providers did, I opted for the templated event handler approach which I think is much cooler:

        /// <summary>
        /// Row updating event handler
        /// </summary>
        public event EventHandler<RowUpdatingEventArgs> RowUpdating
        {
          add { base.Events.AddHandler(_updatingEventPH, value); }
          remove { base.Events.RemoveHandler(_updatingEventPH, value); }
        }

        /// <summary>
        /// Row updated event handler
        /// </summary>
        public event EventHandler<RowUpdatedEventArgs> RowUpdated
        {
          add { base.Events.AddHandler(_updatedEventPH, value); }
          remove { base.Events.RemoveHandler(_updatedEventPH, value); }
        }

Page 1 of 1 (2 items)
Powered by Community Server (Commercial Edition), by Telligent Systems