Table of Contents

Class BsonDateTimeOptionsAttributeConvention

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

A convention that configures the element name for entity properties based on an applied MongoDB.Bson.Serialization.Attributes.BsonDateTimeOptionsAttribute for familiarity with the Mongo C# Driver.

public sealed class BsonDateTimeOptionsAttributeConvention : PropertyAttributeConventionBase<BsonDateTimeOptionsAttribute>, IPropertyAddedConvention, IPropertyFieldChangedConvention, IConvention
Inheritance
PropertyAttributeConventionBase<BsonDateTimeOptionsAttribute>
BsonDateTimeOptionsAttributeConvention
Implements
Inherited Members

Constructors

BsonDateTimeOptionsAttributeConvention(ProviderConventionSetBuilderDependencies)

Creates a BsonDateTimeOptionsAttributeConvention.

Methods

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.