Rahul, FYI, the DataReaders that iBATIS.NET uses are hidden away in the IBatisNet.DataMapper.MappedStatements.MappedStatement class in private RunQueryForList, Map, and Object methods that are called by the ExecuteQueryFor* methods in the same class.
I have to defer to Gilles and Ted about whether or not there are plans to return a generic IDataReader for queries. Roberto -----Original Message----- From: Rahul Singh [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 15, 2004 1:42 AM To: [EMAIL PROTECTED] Subject: Congrats on a great product, and some questions. Guys, I've been using iBATIS for a few of the things that I'm working on and am going to suggest that we use it for our DAL in the open source Rainbow Portal project. Currently Rainbow works exclusively with SQL server and uses stored procedures. Using IBATIS XML map files, we can move our stored procs to the XML file and make our system work with other databases. Most of Rainbow currently relies on DataReaders for read only views of the information and are bound using DataLists and DataReaders. I know that we can map the results to a Hashtable object but I was wondering if there is a way to access the raw datareaders. Thanks, Rahul