Table of Contents

Class BsonExtraElementsAttributeConvention

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

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

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

Constructors

BsonExtraElementsAttributeConvention(ProviderConventionSetBuilderDependencies)

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