Skip to content

Add GetBytes method with name #1197

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

Merged
merged 2 commits into from
Aug 12, 2022
Merged

Conversation

CorentinPtrl
Copy link
Contributor

Just add a GetBytes method without ordinal

@bgrainger
Copy link
Member

I don't see this overload in npgsql, Microsoft.Data.SqlClient, or MySql.Data, so it's doesn't seem to be commonly needed (and/or it has a simple workaround). OTOH, there's no compelling reason not to add it for symmetry with other APIs.

@CorentinPtrl your commits are missing the DCO signoff. Can you certify the claims in https://developercertificate.org/? (An affirmative comment here is fine.)

@bgrainger
Copy link
Member

(I've fixed the spurious build error.)

@CorentinPtrl
Copy link
Contributor Author

Yeah i agree with the DCO, but i just thought it could simplify the use of GetBytes since every other getter has his overload

@bgrainger bgrainger merged commit 522160c into mysql-net:master Aug 12, 2022
bgrainger pushed a commit that referenced this pull request Aug 26, 2022
@bgrainger
Copy link
Member

Added in 2.1.13.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants