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

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
Labels
area-scaffolding closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. customer-reported Servicing-approved type-bug
Milestone

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.

AndriySvyryd added a commit that referenced this issue Dec 10, 2022
@AndriySvyryd AndriySvyryd added the closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. label Dec 10, 2022
@AndriySvyryd AndriySvyryd removed their assignment Dec 10, 2022
AndriySvyryd added a commit that referenced this issue Dec 10, 2022
AndriySvyryd added a commit that referenced this issue Dec 12, 2022
@AndriySvyryd AndriySvyryd reopened this Dec 12, 2022
@ajcvickers ajcvickers modified the milestones: 7.0.x, 7.0.3 Dec 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-scaffolding closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. customer-reported Servicing-approved type-bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants