CommandAccessor<TResult> Methods
Include Protected Members
Include Inherited Members
The CommandAccessor<TResult> type exposes the following members.
Methods
Name | Description | |
---|---|---|
BeginExecute(AsyncCallback, Object, array<Object[]) |
Begin executing the database object asynchronously, returning a IAsyncResult object that can be used to retrieve the result set after the operation completes.
(Inherited from DataAccessor<TResult>.) |
|
BeginExecute(DbCommand, IParameterMapper, AsyncCallback, Object, array<Object[]) |
Helper method to kick off execution of an asynchronous database operation. This method handles the boilerplate of setting up the parameters and invoking the operation on the database with the right options.
|
|
EndExecute |
Complete an operation started by BeginExecute(AsyncCallback, Object, array<Object[]).
(Overrides DataAccessor<TResult>.EndExecute(IAsyncResult).) |
|
Equals | (Inherited from Object.) | |
Execute(DbCommand) |
Executes the command and returns an enumerable of TResult. The enumerable returned by this method uses deferred loading to return the results.
|
|
Execute(array<Object[]) |
Execute the database operation synchronously, returning the IEnumerable<T> sequence containing the resulting objects.
(Inherited from DataAccessor<TResult>.) |
|
Finalize |
Allows an object to try to free resources and perform other cleanup operations before it 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.) |
|
GuardAsyncAllowed |
Checks if the current Database object supports asynchronous operations, and throws InvalidOperationException if not.
|
|
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
|
ToString |
Returns a string that represents the current object.
(Inherited from Object.) |