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

Fix for AnsiString #279

Closed
wants to merge 2 commits into from
Closed

Fix for AnsiString #279

wants to merge 2 commits into from

Conversation

Styn
Copy link

@Styn Styn commented Apr 5, 2016

When using AnsiString, the param is still passed as a nvarchar.
Setting the SqlDbType fixes this issue

This is when using PetaPoco 5.1.153 and MS Sql Server 2012 (11.0.6020)

Styn added 2 commits April 5, 2016 15:44
If SqlDbType is not set on the param, the param still gets passed as nvarchar
MS Sql Server (2012 11.0.6020)
PetaPoco 5.1.153
@pleb
Copy link
Member

pleb commented Apr 12, 2016

HI @Styn

Thanks for the contribute. Are you able to re-issue this PR for the development branch, as changes go through development and then to master?

Also, can you add or at least list how this can be tested?

Thanks, Wade

@pleb
Copy link
Member

pleb commented May 27, 2016

@Styn, sorry I think I referenced the wrong person in my previous comment. Can you please reissue to the development branch?

@pleb
Copy link
Member

pleb commented May 27, 2016

Also, can you please add an integration test or tell me how you'd go about testing this. Thanks.

@pleb pleb closed this Sep 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants