Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Add the dynamic ExecuteQuery method in the DbRepository. #517

Closed
mikependon opened this issue Aug 17, 2020 · 3 comments
Closed
Assignees
Labels
deployed Feature or bug is deployed at the current release enhancement New feature or request fixed The bug, issue, incident has been fixed. todo Things to be done in the future

Comments

@mikependon
Copy link
Owner

Add the IDbConnection extended method named dynamic ExecuteQuery() into the DbRepository object. This is to make the DbRepository object more align with the IDbConnection object extension methods.

Here is the IDbConnection signature.

public static IEnumerable<dynamic> ExecuteQuery(this IDbConnection connection, string commandText, object param = null, CommandType? commandType = null, int? commandTimeout = null, IDbTransaction transaction = null);
@mikependon mikependon added enhancement New feature or request todo Things to be done in the future labels Aug 17, 2020
@mikependon mikependon self-assigned this Aug 17, 2020
@mikependon mikependon pinned this issue Aug 21, 2020
@mikependon mikependon added the fixed The bug, issue, incident has been fixed. label Aug 21, 2020
@mikependon mikependon unpinned this issue Aug 21, 2020
@mikependon
Copy link
Owner Author

mikependon commented Aug 28, 2020

The fix is now available at RepoDB v1.12.0-beta1.

@mikependon mikependon added the deployed Feature or bug is deployed at the current release label Aug 29, 2020
@gkn06
Copy link

gkn06 commented Oct 28, 2020

@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);

@mikependon
Copy link
Owner Author

@gkn06 - absolutely. Would you be able to create a separate issue for this request for tracking purposes? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployed Feature or bug is deployed at the current release enhancement New feature or request fixed The bug, issue, incident has been fixed. todo Things to be done in the future
Projects
None yet
Development

No branches or pull requests

2 participants