Exemple #1
0
 /// <summary>
 /// An exception free <see cref="DbCommand.Cancel()"/> to workaround issues with drivers, notably MySQL.
 /// </summary>
 /// <param name="command">The command.</param>
 public void CancelSafe(DbCommand command)
 {
     // TODO make cancel a config option.
     command.SafeCancel();
 }