using System.Data;
namespace Dapper
{
///
/// Describes a reader that controls the lifetime of both a command and a reader,
/// exposing the downstream command/reader as properties.
///
public interface IWrappedDataReader : IDataReader
{
///
/// Obtain the underlying reader
///
IDataReader Reader { get; }
///
/// Obtain the underlying command
///
IDbCommand Command { get; }
}
}