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