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

Support a raw SQL Query Statement Array Parameters #23

Closed
mikependon opened this issue Jul 25, 2018 · 2 comments
Closed

Support a raw SQL Query Statement Array Parameters #23

mikependon opened this issue Jul 25, 2018 · 2 comments
Assignees
Labels
deployed Feature or bug is deployed at the current release enhancement New feature or request

Comments

@mikependon
Copy link
Owner

As requested by one of our Senior Developer, please support the raw SQL Statement array parameters.

Please see below.

 var param = new [] { 1, 2, 3, 4 };
 using (var connection = new SqlConnection(connectionString))
 {
      connection.ExecuteQuery<Person>("SELECT * FROM [dbo].[Person] WHERE Id IN (@Ids);", new { Ids = param });
 }
@mikependon mikependon added the enhancement New feature or request label Jul 25, 2018
@mikependon mikependon self-assigned this Jul 25, 2018
@mikependon
Copy link
Owner Author

This has been fixed in the version above "beta5". Will be available on the next release.

@mikependon
Copy link
Owner Author

Supported at v1.2.0 GA release.

@mikependon mikependon added the deployed Feature or bug is deployed at the current release label Aug 4, 2018
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
Projects
None yet
Development

No branches or pull requests

1 participant