Table of Contents

Class BsonSerializerPropertyConvention

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

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

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

Constructors

BsonSerializerPropertyConvention(ProviderConventionSetBuilderDependencies)

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