Table of Contents

Class BsonSerializationOptionsAttributeConvention

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

Recognized MongoDB.Bson.Serialization.Attributes.BsonSerializationOptionsAttribute applied to properties of an entity to ensure the model throw later as it is not supported in the EF provider.

public sealed class BsonSerializationOptionsAttributeConvention : NotSupportedPropertyAttributeConvention<BsonSerializationOptionsAttribute>, IPropertyAddedConvention, IPropertyFieldChangedConvention, IConvention
Inheritance
PropertyAttributeConventionBase<BsonSerializationOptionsAttribute>
NotSupportedPropertyAttributeConvention<BsonSerializationOptionsAttribute>
BsonSerializationOptionsAttributeConvention
Implements
Inherited Members

Constructors

BsonSerializationOptionsAttributeConvention(ProviderConventionSetBuilderDependencies)

Recognized MongoDB.Bson.Serialization.Attributes.BsonSerializationOptionsAttribute applied to properties of an entity to ensure the model throw later as it is not supported in the EF provider.

Methods

ProcessPropertyAdded(IConventionPropertyBuilder, BsonSerializationOptionsAttribute, MemberInfo, IConventionContext)

Called after a property is added to the entity type with an attribute on the associated CLR property or field.