25 lines
478 B
C#
25 lines
478 B
C#
namespace Common.SqlExtensions.Interfaces
|
|
{
|
|
using System;
|
|
|
|
public interface ISQLReader
|
|
{
|
|
bool GetBool(int index = -1);
|
|
|
|
DateTime GetDate(int index = -1);
|
|
|
|
int GetInt(int index = -1);
|
|
|
|
long GetLong(int index = -1);
|
|
|
|
short GetSmallint(int index = -1);
|
|
|
|
string GetString(int index = -1);
|
|
|
|
byte GetTinyint(int index = -1);
|
|
|
|
T GetValue<T>(int index = -1);
|
|
|
|
object GetValue(string column);
|
|
}
|
|
} |