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

Procedure result mapping: snake case columns do not work #50

Open
PetrPospisil opened this issue Apr 23, 2024 · 0 comments
Open

Procedure result mapping: snake case columns do not work #50

PetrPospisil opened this issue Apr 23, 2024 · 0 comments

Comments

@PetrPospisil
Copy link

Calling procedure returning data
SELECT 1 AS [id_pc]
will always return
id_pc = 0,
because this line of code

string name = columns[i].Replace("_", "");

modifies id_pc name to idpc which skips the mapping in the next lines of the code.

Any reason to use this line?

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

No branches or pull requests

1 participant