jonwagner / Insight.Database

Fast, lightweight .NET micro-ORM
Other
859 stars 145 forks source link

How to Map 23 Result Sets from stored procedure execution to 23 clases #402

Closed ImmaDevGal closed 5 years ago

ImmaDevGal commented 5 years ago

I haVe a project where the execution of a stored procedure returns 23 ResultSets. And I have 23 Objects they can be mapped to. But Insight only allows me to return up to 16 sets of objects. I tried implementing my own Results class with 23 arguments inheriting from the 16th arguments one, but it made me also implement a ResultReader class. But this last class, has methods that are inaccessible. Is it possible to turn those methods public? or is there a better way this solution.

jonwagner commented 5 years ago

That's a lot of results.

I will likely do a build this weekend for another issue. If you can provide more details on the blocker, I can attempt to merge that in. Ideally, submit a PR with the methods that you need access to.

jonwagner commented 5 years ago

Closing due to inactivity.