Method ProcessPropertyAdded
- Assembly
- MongoDB.EntityFrameworkCore.dll
ProcessPropertyAdded(IConventionPropertyBuilder, BsonRequiredAttribute, MemberInfo, IConventionContext)
Called after a property is added to the entity type with an attribute on the associated CLR property or field.
protected override void ProcessPropertyAdded(IConventionPropertyBuilder propertyBuilder, BsonRequiredAttribute attribute, MemberInfo clrMember, IConventionContext context)
Parameters
propertyBuilderIConventionPropertyBuilderThe builder for the property.
attributeBsonRequiredAttributeThe attribute.
clrMemberMemberInfoThe member that has the attribute.
contextIConventionContextAdditional information associated with convention execution.
ProcessPropertyAdded(IConventionComplexPropertyBuilder, BsonRequiredAttribute, MemberInfo, IConventionContext)
Called after a complex property is added to a type with an attribute on the associated CLR property or field.
protected override void ProcessPropertyAdded(IConventionComplexPropertyBuilder propertyBuilder, BsonRequiredAttribute attribute, MemberInfo clrMember, IConventionContext context)
Parameters
propertyBuilderIConventionComplexPropertyBuilderThe builder for the property.
attributeBsonRequiredAttributeThe attribute.
clrMemberMemberInfoThe member that has the attribute.
contextIConventionContextAdditional information associated with convention execution.