bjornwang
02-02-2007, 04:13 PM
Hello,
Is there any way to get the AddRowMapper() method of the StoredProcedure class to accept a generic RowMapper, i.e. IRowMapper<T>?
I find myself creating lots of boilerplate code to be able to return an IList<T> from my DAO objects.
This would work out of the box if AddRowMapper() supported generic RowMappers.
What I want is an AddRowMapper() that takes Spring.Data.Generic.IRowMapper<T> as a parameter instead of the old Spring.Data.IRowMapper.
Any input on this?
Is there any way to get the AddRowMapper() method of the StoredProcedure class to accept a generic RowMapper, i.e. IRowMapper<T>?
I find myself creating lots of boilerplate code to be able to return an IList<T> from my DAO objects.
This would work out of the box if AddRowMapper() supported generic RowMappers.
What I want is an AddRowMapper() that takes Spring.Data.Generic.IRowMapper<T> as a parameter instead of the old Spring.Data.IRowMapper.
Any input on this?