Class CamelCaseElementNameConvention
- Namespace
- MongoDB.EntityFrameworkCore.Metadata.Conventions
- Assembly
- MongoDB.EntityFrameworkCore.dll
A convention that configures the element name for entity properties by using a camel-case naming convention.
public sealed class CamelCaseElementNameConvention : IPropertyAddedConvention, INavigationAddedConvention, IConvention
- Inheritance
-
CamelCaseElementNameConvention
- Implements
- Inherited Members
Methods
- ProcessNavigationAdded(IConventionNavigationBuilder, IConventionContext<IConventionNavigationBuilder>)
For every navigation that is added to the model set the element name to be the camel case version of the navigation property name with symbols being removed and considered word separators.
- ProcessPropertyAdded(IConventionPropertyBuilder, IConventionContext<IConventionPropertyBuilder>)
For every property that is added to the model set the element name to be the camel case version of the property name with symbols being removed and considered word separators.