Namespace MongoDB.EntityFrameworkCore.Metadata.Conventions
Classes
- CamelCaseElementNameConvention
A convention that configures the element name for entity properties by using a camel-case naming convention.
- CollectionAttributeConvention
A convention that configures the collection name for entity types based on the applied CollectionAttribute.
- CollectionNameFromDbSetConvention
A convention that configures the collection name based on the DbSet<TEntity> property name.
- ColumnAttributeConvention
A convention that configures the element name for entity properties based on an applied ColumnAttribute for familiarity/compatibility with other EF providers.
- DateTimeKindConvention
A convention that set DateTimeKind for DateTime properties.
- MongoConventionSetBuilder
Creates the ConventionSet for the MongoDB provider.
- MongoRelationshipDiscoveryConvention
A convention that ensures embedded objects are correctly configured as owned entities.
- NotSupportedPropertyAttributeConvention<T>
Abstract class to register unsupported attributes on properties as NotSupportedAttributes allowing MongoModelValidator to throw when encountered.
- PrimaryKeyDiscoveryConvention
A convention that identifies the primary key for entity types based on the underlying element name being "_id".
- TableAttributeConvention
A convention that configures the collection name for entity types based on an applied TableAttribute for familiarity/compatibility with other EF providers.