Interface IExecuteReader<TReader>
- Namespace
- Open.Database.Extensions
- Assembly
- Open.Database.Extensions.Core.dll
Common interface used for expressive commands when dealing with a data reader.
public interface IExecuteReader<out TReader> : IExecuteReader where TReader : IDataReader
Type Parameters
TReaderThe type of the data reader.
- Inherited Members
- Extension Methods
Methods
- ExecuteReader(Action<TReader>, CommandBehavior)
Executes a reader on a command with a handler function.
- ExecuteReaderAsync(Func<TReader, ValueTask>, CommandBehavior)
Executes a reader on a command with a handler function.
- ExecuteReaderAsync<T>(Func<TReader, ValueTask<T>>, CommandBehavior)
Executes a reader on a command with a handler function.
- ExecuteReader<T>(Func<TReader, T>, CommandBehavior)
Executes a reader on a command with a transform function.