Re: Extending DataMapper from V3 to add support QueryForDataSet

2008-06-07 Thread Ron Grabowski
I did. - Original Message From: Gilles Bayon <[EMAIL PROTECTED]> To: user-cs@ibatis.apache.org Sent: Saturday, June 7, 2008 5:12:14 PM Subject: Re: Extending DataMapper from V3 to add support QueryForDataSet I will think of that Did you know that you can do this select

Re: Extending DataMapper from V3 to add support QueryForDataSet

2008-06-07 Thread Gilles Bayon
I will think of that Did you know that you can do this select Account_ID, Account_FirstName, Account_LastName, Account_Email, Account_Banner_Option, Account_Cart_Option from Accounts where Account_ID = 1; select Category_ID,

Extending DataMapper from V3 to add support QueryForDataSet

2008-06-07 Thread Ron Grabowski
Here's an example of extending the DataMapper from V3 to add a QueryForDataSet method: http://www.ronosaurus.com/IBatisNet/DataSetDataMapper.cs.txt DataRow doesn't have a public constructor so I used a Hashtable in the resultClass of the resultMap then wrote a small adapter class to redirect t