Пример #1
0
        /// <summary>
        /// Extends BeginInvoke so that when a state object is not needed, null does not need to be passed.
        /// <example>
        /// odbcrowupdatingeventhandler.BeginInvoke(sender, e, callback);
        /// </example>
        /// </summary>
        public static IAsyncResult BeginInvoke(this OdbcRowUpdatingEventHandler odbcrowupdatingeventhandler, Object sender, OdbcRowUpdatingEventArgs e, AsyncCallback callback)
        {
            if (odbcrowupdatingeventhandler == null)
            {
                throw new ArgumentNullException("odbcrowupdatingeventhandler");
            }

            return(odbcrowupdatingeventhandler.BeginInvoke(sender, e, callback, null));
        }
Пример #2
0
 private void OdbcRowUpdating(object sender, OdbcRowUpdatingEventArgs ruevent)
 {
     RowUpdating(sender, ruevent);
 }
Пример #3
0
 /// <summary>
 /// Handles the RowUpdating event
 /// </summary>
 /// <param name="obj">The object that published the event</param>
 /// <param name="e">The OdbcRowUpdatingEventArgs</param>
 protected void RowUpdating(object obj, OdbcRowUpdatingEventArgs e)
 {
     base.RowUpdating(obj, e);
 }