You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
540 B
21 lines
540 B
1 month ago
|
using System.Data;
|
||
|
|
||
|
namespace Dapper
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Describes a reader that controls the lifetime of both a command and a reader,
|
||
|
/// exposing the downstream command/reader as properties.
|
||
|
/// </summary>
|
||
|
public interface IWrappedDataReader : IDataReader
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// Obtain the underlying reader
|
||
|
/// </summary>
|
||
|
IDataReader Reader { get; }
|
||
|
/// <summary>
|
||
|
/// Obtain the underlying command
|
||
|
/// </summary>
|
||
|
IDbCommand Command { get; }
|
||
|
}
|
||
|
}
|