FakeCommand - методы |
Тип FakeCommand предоставляет следующие члены.
Имя | Описание | |
---|---|---|
Cancel | (Переопределяет DbCommandCancel.) | |
CreateDbParameter | (Переопределяет DbCommandCreateDbParameter.) | |
CreateFakeParameter | ||
CreateParameter | Creates a new instance of a DbParameter object. (Унаследован от DbCommand.) | |
Dispose | Releases all resources used by the Component. (Унаследован от Component.) | |
Dispose(Boolean) | Releases the unmanaged resources used by the Component and optionally releases the managed resources. (Унаследован от Component.) | |
Equals | Determines whether the specified object is equal to the current object. (Унаследован от Object.) | |
ExecuteDbDataReader | (Переопределяет DbCommandExecuteDbDataReader(CommandBehavior).) | |
ExecuteDbDataReaderAsync | Providers should implement this method to provide a non-default implementation for ExecuteReader overloads.
The default implementation invokes the synchronous ExecuteReader method and returns a completed task, blocking the calling thread. The default implementation will return a cancelled task if passed an already cancelled cancellation token. Exceptions thrown by ExecuteReader will be communicated via the returned Task Exception property.
This method accepts a cancellation token that can be used to request the operation to be cancelled early. Implementations may ignore this request. (Унаследован от DbCommand.) | |
ExecuteFakeReader | ||
ExecuteNonQuery | (Переопределяет DbCommandExecuteNonQuery.) | |
ExecuteNonQueryAsync | An asynchronous version of ExecuteNonQuery, which executes a SQL statement against a connection object.
Invokes ExecuteNonQueryAsync(CancellationToken) with CancellationToken.None. (Унаследован от DbCommand.) | |
ExecuteNonQueryAsync(CancellationToken) | This is the asynchronous version of ExecuteNonQuery. Providers should override with an appropriate implementation. The cancellation token may optionally be ignored.
The default implementation invokes the synchronous ExecuteNonQuery method and returns a completed task, blocking the calling thread. The default implementation will return a cancelled task if passed an already cancelled cancellation token. Exceptions thrown by ExecuteNonQuery will be communicated via the returned Task Exception property.
Do not invoke other methods and properties of the DbCommand object until the returned Task is complete. (Унаследован от DbCommand.) | |
ExecuteReader | (Унаследован от DbCommand.) | |
ExecuteReader(CommandBehavior) | Executes the CommandText against the Connection, and returns an DbDataReader using one of the CommandBehavior values. (Унаследован от DbCommand.) | |
ExecuteReaderAsync | An asynchronous version of ExecuteReader, which executes the CommandText against the Connection and returns a DbDataReader.
Invokes ExecuteDbDataReaderAsync(CommandBehavior, CancellationToken) with CancellationToken.None. (Унаследован от DbCommand.) | |
ExecuteReaderAsync(CancellationToken) | An asynchronous version of ExecuteReader, which executes the CommandText against the Connection and returns a DbDataReader. This method propagates a notification that operations should be canceled.
Invokes ExecuteDbDataReaderAsync(CommandBehavior, CancellationToken). (Унаследован от DbCommand.) | |
ExecuteReaderAsync(CommandBehavior) | An asynchronous version of ExecuteReader, which executes the CommandText against the Connection and returns a DbDataReader.
Invokes ExecuteDbDataReaderAsync(CommandBehavior, CancellationToken). (Унаследован от DbCommand.) | |
ExecuteReaderAsync(CommandBehavior, CancellationToken) | (Унаследован от DbCommand.) | |
ExecuteScalar | (Переопределяет DbCommandExecuteScalar.) | |
ExecuteScalarAsync | An asynchronous version of ExecuteScalar, which executes the query and returns the first column of the first row in the result set returned by the query. All other columns and rows are ignored.
Invokes ExecuteScalarAsync(CancellationToken) with CancellationToken.None. (Унаследован от DbCommand.) | |
ExecuteScalarAsync(CancellationToken) | This is the asynchronous version of ExecuteScalar. Providers should override with an appropriate implementation. The cancellation token may optionally be ignored.
The default implementation invokes the synchronous ExecuteScalar method and returns a completed task, blocking the calling thread. The default implementation will return a cancelled task if passed an already cancelled cancellation token. Exceptions thrown by ExecuteScalar will be communicated via the returned Task Exception property.
Do not invoke other methods and properties of the DbCommand object until the returned Task is complete. (Унаследован от DbCommand.) | |
Finalize | Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Унаследован от Component.) | |
GetHashCode | Serves as the default hash function. (Унаследован от Object.) | |
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Унаследован от MarshalByRefObject.) | |
GetService | (Унаследован от Component.) | |
GetType | Gets the Type of the current instance. (Унаследован от Object.) | |
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Унаследован от MarshalByRefObject.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Унаследован от Object.) | |
MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Унаследован от MarshalByRefObject.) | |
Prepare | (Переопределяет DbCommandPrepare.) | |
RemoveFromOutput | ||
ToString | Returns a String containing the name of the Component, if any. This method should not be overridden. (Унаследован от Component.) |
Имя | Описание | |
---|---|---|
ExecuteScalarAsyncT | (Определяется Extensions.) | |
ExecuteSelectAsyncT | (Определяется Extensions.) | |
ExecuteSelectFirstAsyncT | (Определяется Extensions.) | |
ExecuteSelectFirstOrDefaultAsyncT(FuncIDataRecord, T, CancellationToken) | Перегружен. (Определяется Extensions.) | |
ExecuteSelectFirstOrDefaultAsyncT(FuncIDataRecord, T, T, CancellationToken) | Перегружен. (Определяется Extensions.) | |
Get | (Определяется ComHelper.) | |
InternalMarkerCanvas |
Возвращает маркер аннотации
(Определяется AnnotationInternalsAccessor.) | |
Invoke | (Определяется ComHelper.) | |
Set | (Определяется ComHelper.) |