Skip to content
New issue

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

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

Already on GitHub? # to your account

Change in behaviour of CSharpHelper.Identifier(string name) #29450

Closed
ErikEJ opened this issue Oct 28, 2022 · 5 comments · Fixed by #29821
Closed

Change in behaviour of CSharpHelper.Identifier(string name) #29450

ErikEJ opened this issue Oct 28, 2022 · 5 comments · Fixed by #29821

Comments

@ErikEJ
Copy link
Contributor

ErikEJ commented Oct 28, 2022

Not sure if this can be considered a bug, but here you have it:

Given:

code.Identifier("MyStrange_ParameterName")

This returns:

 MyStrange_ParameterName

using EF Core 6

But

 MyStrangeParameterName

using EF Core 7

@ajcvickers
Copy link
Contributor

@ErikEJ Do you know what scenarios this breaks?

@ErikEJ
Copy link
Contributor Author

ErikEJ commented Nov 5, 2022

Well- the behaviour change exposed a bug in my stored procedure mapping code. Could imagine it would effect some reverse engineering scenarios.

@ErikEJ
Copy link
Contributor Author

ErikEJ commented Nov 9, 2022

Looks like the first issue is in now: ErikEJ/EFCorePowerTools#1577

@ErikEJ
Copy link
Contributor Author

ErikEJ commented Nov 15, 2022

@ajcvickers
Copy link
Contributor

@bricelam Looks like we should probably patch this.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants