Table of Contents

Class BsonRepresentationAttributeConvention

Namespace
MongoDB.EntityFrameworkCore.Metadata.Conventions.BsonAttributes
Assembly
MongoDB.EntityFrameworkCore.dll

Recognized MongoDB.Bson.Serialization.Attributes.BsonRepresentationAttribute applied to properties of an entity to ensure the model throw later as it is not supported in the EF provider.

public sealed class BsonRepresentationAttributeConvention : NotSupportedPropertyAttributeConvention<BsonRepresentationAttribute>, IPropertyAddedConvention, IPropertyFieldChangedConvention, IConvention
Inheritance
PropertyAttributeConventionBase<BsonRepresentationAttribute>
NotSupportedPropertyAttributeConvention<BsonRepresentationAttribute>
BsonRepresentationAttributeConvention
Implements
Inherited Members

Constructors

BsonRepresentationAttributeConvention(ProviderConventionSetBuilderDependencies)

Recognized MongoDB.Bson.Serialization.Attributes.BsonRepresentationAttribute applied to properties of an entity to ensure the model throw later as it is not supported in the EF provider.