Class BsonIgnoreAttributeConvention
- Assembly
- MongoDB.EntityFrameworkCore.dll
A convention that configures the element name for entity properties based on an applied MongoDB.Bson.Serialization.Attributes.BsonElementAttribute for familiarity/compatibility with the Mongo C# Driver.
public sealed class BsonIgnoreAttributeConvention : IEntityTypeAddedConvention, IComplexPropertyAddedConvention, IConvention
- Inheritance
-
BsonIgnoreAttributeConvention
- Implements
- Inherited Members
Constructors
- BsonIgnoreAttributeConvention(ProviderConventionSetBuilderDependencies)
Creates a BsonIgnoreAttributeConvention.
Properties
- Dependencies
Dependencies for this convention.
Methods
- ProcessComplexPropertyAdded(IConventionComplexPropertyBuilder, IConventionContext<IConventionComplexPropertyBuilder>)
Called after a complex property is added to a type-like object.
- ProcessEntityTypeAdded(IConventionEntityTypeBuilder, IConventionContext<IConventionEntityTypeBuilder>)
Called after an entity type is added to the model.