Here are the examples of the csharp api class System.Data.Common.DbCommand.Cancel() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
11 Examples
0
1. Example
Project: EDDiscovery
Source File: SQLiteCommandED.cs
Source File: SQLiteCommandED.cs
public override void Cancel() { InnerCommand.Cancel(); }
0
2. Example
Project: Glimpse
Source File: GlimpseDbCommand.cs
Source File: GlimpseDbCommand.cs
public override void Cancel() { InnerCommand.Cancel(); }
0
3. Example
Project: ALinq
Source File: AccessDbConnection.cs
Source File: AccessDbConnection.cs
public override void Cancel() { source.Cancel(); }
0
4. Example
Project: ALinq
Source File: Connection.cs
Source File: Connection.cs
public override void Cancel() { source.Cancel(); }
0
5. Example
Project: referencesource
Source File: DBCommand.cs
Source File: DBCommand.cs
internal void CancelIgnoreFailure() { // This method is used to route CancellationTokens to the Cancel method. // Cancellation is a suggestion, and exceptions should be ignored // rather than allowed to be unhandled, as there is no way to route // them to the caller. It would be expected that the error will be // observed anyway from the regular method. An example is cancelling // an operation on a closed connection. try { Cancel(); } catch(Exception) { } }
0
6. Example
Project: NServiceKit
Source File: ProfiledDbCommand.cs
Source File: ProfiledDbCommand.cs
public override void Cancel() { _cmd.Cancel(); }
0
7. Example
Project: openpetra
Source File: Access.cs
Source File: Access.cs
public void CancelFillOperation() { FDataAdapter.SelectCommand.Cancel(); }
0
8. Example
Project: SmartStoreNET
Source File: CachingCommand.cs
Source File: CachingCommand.cs
public override void Cancel() { _command.Cancel(); }
0
9. Example
Project: DNTProfiler
Source File: ProfiledDbCommand.cs
Source File: ProfiledDbCommand.cs
public override void Cancel() { InternalCommand.Cancel(); }
0
10. Example
Project: nhibernate-core
Source File: AbstractBatcher.cs
Source File: AbstractBatcher.cs
public void CancelLastQuery() { try { if (_lastQuery != null) { _lastQuery.Cancel(); } } catch (HibernateException) { // Do not call Convert on HibernateExceptions throw; } catch (Exception sqle) { throw Convert(sqle, "Could not cancel query"); } }
0
11. Example
Project: anycmd
Source File: SqlMapperAsync.cs
Source File: SqlMapperAsync.cs
public static async Task<GridReader> QueryMultipleAsync(this IDbConnection cnn, CommandDefinit/n ..... /n //View Source file for more details /n }