Table of Contents

Method ProcessPropertyAdded

Namespace
MongoDB.EntityFrameworkCore.Metadata.Conventions.BsonAttributes
Assembly
MongoDB.EntityFrameworkCore.dll

ProcessPropertyAdded(IConventionPropertyBuilder, BsonDateTimeOptionsAttribute, 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, BsonDateTimeOptionsAttribute attribute, MemberInfo clrMember, IConventionContext context)

Parameters

propertyBuilder IConventionPropertyBuilder

The builder for the property.

attribute BsonDateTimeOptionsAttribute

The attribute.

clrMember MemberInfo

The member that has the attribute.

context IConventionContext

Additional information associated with convention execution.