Table of Contents

Class BsonSerializerPropertyConvention

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

Recognize BsonSerializerPropertyConvention when applied to properties of an entity to ensure the model will throw as the attribute 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)

Recognize BsonSerializerPropertyConvention when applied to properties of an entity to ensure the model will throw as the attribute is not supported in the EF provider.