-
Notifications
You must be signed in to change notification settings - Fork 92
Open
Milestone
Description
I noticed that there is a TODO in code:
EFCore.NamingConventions/EFCore.NamingConventions/Internal/NameRewritingConvention.cs
Lines 184 to 185 in 83a3412
| // TODO: Note that we do not rewrite names of JSON properties (which aren't relational columns). | |
| // TODO: We could introduce an option for doing so, though that's probably not usually what people want when doing JSON |
Could you please add feature for this?
foreach (var property in entityType.GetProperties())
{
property.Builder.HasNoAnnotation(RelationalAnnotationNames.ColumnName);
property.Builder.HasJsonPropertyName(_namingNameRewriter.RewriteName(property.GetColumnName()));
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels