Table of Contents

Class MongoAnnotationNames

Namespace
MongoDB.EntityFrameworkCore.Metadata
Assembly
MongoDB.EntityFrameworkCore.dll

Names for well-known Mongo model annotations. Applications should not use these names directly, but should instead use the extension methods on metadata objects.

public static class MongoAnnotationNames
Inheritance
MongoAnnotationNames
Inherited Members

Fields

BsonRepresentation

The key for Bson representation annotations.

CollectionName

The key for collection name annotations.

CreateIndexOptions

The key for create index options annotations.

DateTimeKind

The key for DateTimeKind annotations.

ElementName

The key for document element name annotations.

NotSupportedAttributes

The key for marking annotations as not supported.

Prefix

The prefix used for all MongoDB annotations.