Class BsonSerializerPropertyConvention
- 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>NotSupportedPropertyAttributeConvention<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.