Defines reading database operations Implements the Korzh.DbUtils.IDbBridge
public interface Korzh.DbUtils.IDbReader
: IDbBridge
Methods
Type | Name | Description |
---|---|---|
IDataReader |
GetDataReaderForSql(String sql) |
Executes the SQL statement passed in the parameter and returns a System.Data.IDataReader object with the result of that execution. |
IDataReader |
GetDataReaderForTable(DatasetInfo table) |
Creates and returns a System.Data.IDataReader object for some table. This method usually just constructs a correct SQL statement to get the content of some table (like 'SELECT * FROM TableName) and then calls Korzh.DbUtils.IDbReader.GetDataReaderForSql(System.String) function. |