sapiens/SqlFu

No access to "GetPocoMapper"

Closed this issue · 0 comments

I didn't want to create an entire fork and pull request for this little bit, so thought I'd ask if you would make it possible to have the GetPocoMapper as a public method instead of internal?

This would give greater flexibility in extending the Fetch method. In my example, I'm pulling total row counts on paged queries within stored procedures that can't be outputted via traditional SP output parameters. This little bit of flexibility means I can re-use the super fast poco mapper already in SqlFu but still have the access needed to the data reader to grab additional data that I need. It would also mean I can create a custom generic query across all my pocos by reusing all the work SqlFu already does.

It would be really powerful, and all I need to access to is the GetPocoMapper method?