Repodb: Enhancement: Add the dynamic ExecuteQueryMultiple method in the DbRepository

Created on 28 Oct 2020  路  7Comments  路  Source: mikependon/RepoDB

@mikependon
Other IDbConnection extended method named ExecuteQueryMultiple is not yet added in the DbRepository.
Is it possible to add that too?

Signature:

public static QueryMultipleExtractor ExecuteQueryMultiple(this IDbConnection connection, string commandText, object param = null, CommandType? commandType = null, int? commandTimeout = null, IDbTransaction transaction = null);

Related to #517

Thanks a lot!

Fixed deployed enhancement request

All 7 comments

@gkn06 - your request is now available in the master branch, but TBH, I had not tested it yet. Would you like to have a beta release and test it?

This is now deployed at RepoDB v1.12.5-beta1. Can you upgrade and test it there? Thanks

@mikependon Sure. I will test it & let you know asap.

@mikependon I tested it. Its working perfect 馃憤.

Thanks, closing this ticket now.

By the way, ensure to always dispose the instance of QueryMultipleExtractor after used so the underlying DbDataReader and DbConnection will also be disposed.

Thanks much @mikependon

Was this page helpful?
0 / 5 - 0 ratings