Method ProcessPropertyAdded
- Namespace
- MongoDB.EntityFrameworkCore.Metadata.Conventions
- Assembly
- MongoDB.EntityFrameworkCore.dll
ProcessPropertyAdded(IConventionPropertyBuilder, ColumnAttribute, MemberInfo, IConventionContext)
For every property added to the model that has a ColumnAttribute use the specified name as an annotation to configure the element name used in BSON documents.
protected override void ProcessPropertyAdded(IConventionPropertyBuilder propertyBuilder, ColumnAttribute attribute, MemberInfo clrMember, IConventionContext context)
Parameters
propertyBuilder
IConventionPropertyBuilderThe builder for the property.
attribute
ColumnAttributeThe attribute.
clrMember
MemberInfoThe member that has the attribute.
context
IConventionContextAdditional information associated with convention execution.