コード例 #1
0
 /// <summary>
 /// Stops the query execution.
 ///
 /// @comment It might take some time until the executing query is cancelled by
 /// the DB, but this procedure returns immediately. The reason for this is that
 /// we consider the query cancellation as done since the application can
 /// 'forget' about the result of the cancellation process (but beware of
 /// executing another query while the other is stopping - this leads to ADO.NET
 /// errors that state that a ADO.NET command is still executing!).
 ///
 /// </summary>
 public void StopSearch()
 {
     FPartnerFind.StopSearch();
 }
コード例 #2
0
 /// <summary>
 /// Stops the query execution.
 ///
 /// Is intended to be called as an Event from FAsyncExecProgress.Cancel.
 ///
 /// @comment It might take some time until the executing query is cancelled by
 /// the DB, but this procedure returns immediately. The reason for this is that
 /// we consider the query cancellation as done since the application can
 /// 'forget' about the result of the cancellation process (but beware of
 /// executing another query while the other is stopping - this leads to ADO.NET
 /// errors that state that a ADO.NET command is still executing!).
 ///
 /// </summary>
 /// <param name="ASender">Object that requested the stopping (not evaluated)</param>
 /// <param name="AArgs">(not evaluated)
 /// </param>
 /// <returns>void</returns>
 public void StopSearch(object ASender, EventArgs AArgs)
 {
     FPartnerFind.StopSearch(ASender, AArgs);
 }