Helper class to encapsulate query execution
| C# | Visual Basic | Visual C++ |
public class QueryRunner
Public Class QueryRunner
public ref class QueryRunner
| All Members | Constructors | Methods | Properties | Events | |
| Icon | Member | Description |
|---|---|---|
| QueryRunner(DbProviderFactory, String, Boolean) | Initializes a new instance of the QueryRunner class | |
| Batch | ||
| BatchProgress | ||
| Create(DbProviderFactory, String, Boolean) | ||
| Equals(Object) |
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.) | |
| Exception | ||
| ExecuteQuery(String) | ||
| Finalize()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| HandleBatchException(DbException) | ||
| IsBusy | ||
| MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Messages | ||
| OnBatchProgress(BatchProgressEventArgs) | ||
| SubscribeToMessages(DbConnection) | ||
| TestDbConnection(String, String) |
Tests the database connection using the specified provider.
| |
| ToString()()() |
Returns a String that represents the current Object.
(Inherited from Object.) | |
| UnsubscribeFromMessages(DbConnection) |
| Object | ||
| QueryRunner | ||
| SqlQueryRunner | ||