Class BsonIgnoreIfDefaultAttributePropertyAttributeConvention
- Assembly
- MongoDB.EntityFrameworkCore.dll
Recognized MongoDB.Bson.Serialization.Attributes.BsonIgnoreIfDefaultAttribute applied to properties of an entity to ensure the model throw later as it is not supported in the EF provider.
public sealed class BsonIgnoreIfDefaultAttributePropertyAttributeConvention : NotSupportedPropertyAttributeConvention<BsonIgnoreIfDefaultAttribute>, IPropertyAddedConvention, IPropertyFieldChangedConvention, IConvention
- Inheritance
-
PropertyAttributeConventionBase<BsonIgnoreIfDefaultAttribute>NotSupportedPropertyAttributeConvention<BsonIgnoreIfDefaultAttribute>BsonIgnoreIfDefaultAttributePropertyAttributeConvention
- Implements
- Inherited Members
Constructors
- BsonIgnoreIfDefaultAttributePropertyAttributeConvention(ProviderConventionSetBuilderDependencies)
Recognized MongoDB.Bson.Serialization.Attributes.BsonIgnoreIfDefaultAttribute applied to properties of an entity to ensure the model throw later as it is not supported in the EF provider.