Table of Contents

Constructor BsonIgnoreIfDefaultAttributePropertyAttributeConvention

Namespace
MongoDB.EntityFrameworkCore.Metadata.Conventions.BsonAttributes
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

dependencies ProviderConventionSetBuilderDependencies

The ProviderConventionSetBuilderDependencies conventions depend upon.