Entities are not converted to pascal case when columns are renamed using json config
See original GitHub issueAt First, thanks and I love this tool.
Provide steps to reproduce
My condition is almost same as this issue. isusue1440 And table renaming works quite well for this closed issue, but column renaming don’t work as table renaming do. With efpt.renaming.json, column name isn’t converted into PascalCase.
-
Without efpt.renaming.json “PREFIX_APPLE_NAME” renamed into “PrefixAppleName”
-
With efpt.renaming.json “PREFIX_APPLE_NAME” renamed into “APPLE_NAME”
[
{
"ColumnPatternReplaceWith": "",
"ColumnRegexPattern": "PREFIX_",
"SchemaName": "dbo",
"TablePatternReplaceWith": "",
"TableRegexPattern": "^.*?_",
"Tables": [ ],
"UseSchemaName": false
}
]
Provide technical details
-
EF Core version in use: EF Core 6
-
Is Handlebars used: no
-
Is .dacpac used: no
-
EF Core Power Tools version: 2.5.1068
-
Database engine: (SQL Server)
-
Visual Studio version: Visual Studio 2019
Issue Analytics
- State:
- Created a year ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Forcing Entity Framework generated classes to have ...
I have been working with Entity Framework 4 and SQL Server. The main problem I have found is that the table names in...
Read more >How to customize property names and values with System. ...
Implement a custom property naming policy; Convert dictionary keys to camel case; Convert enums to strings and camel case; Configure the order ...
Read more >Customising ASP.NET Core Identity EF Core naming ...
In this post I'll describe how to configure EF Core to use snake_case for database object names instead of Camel Case, so they...
Read more >Deserialize Snake Case to Camel Case With Jackson
In this article, we've seen different ways to deserialize snake case JSON to camel case fields using Jackson. First, we explicitly named the ......
Read more >Is there a way to have Entity Framework automatically ...
Is there a way to have Entity Framework automatically convert to/from JSON for a property (db column)? ... I want to stuff a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I implemented a fix for this in the latest daily build, would be grateful if you could try it out.
I would be very grateful for a rating or review on Visual Studio Marketplace.
I have reintroduced this change, and added an option to revert to the old behaviour