public IAsyncResult BeginExecuteNonQuery()
 {
     if (this.caller != null)
     {
         this.Throw(new MySqlException(Resources.UnableToStartSecondAsyncOp));
     }
     this.caller      = new MySqlCommand.AsyncDelegate(this.AsyncExecuteWrapper);
     this.asyncResult = this.caller.BeginInvoke(2, CommandBehavior.Default, null, null);
     return(this.asyncResult);
 }
 public int EndExecuteNonQuery(IAsyncResult asyncResult)
 {
     asyncResult.AsyncWaitHandle.WaitOne();
     MySqlCommand.AsyncDelegate arg_29_0 = this.caller;
     this.caller = null;
     if (this.thrownException != null)
     {
         throw this.thrownException;
     }
     return((int)arg_29_0.EndInvoke(asyncResult));
 }
 public MySqlDataReader EndExecuteReader(IAsyncResult result)
 {
     result.AsyncWaitHandle.WaitOne();
     MySqlCommand.AsyncDelegate arg_29_0 = this.caller;
     this.caller = null;
     if (this.thrownException != null)
     {
         throw this.thrownException;
     }
     return((MySqlDataReader)arg_29_0.EndInvoke(result));
 }