Constructor BsonIgnoreIfDefaultAttributePropertyAttributeConvention
- Assembly
- MongoDB.EntityFrameworkCore.dll
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.
public BsonIgnoreIfDefaultAttributePropertyAttributeConvention(ProviderConventionSetBuilderDependencies dependencies)
Parameters
dependenciesProviderConventionSetBuilderDependenciesThe ProviderConventionSetBuilderDependencies conventions depend upon.