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

BinaryVectorDataType

Annotation for the BinaryVectorDataType of a property.

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.

EncryptionDataKeyId

The key for the id of the data key used for encryption.

NotSupportedAttributes

The key for marking annotations as not supported.

Prefix

The prefix used for all MongoDB annotations.

QueryableEncryptionContention

The key for the contention factor specified for a Queryable Encrypted property/field.

QueryableEncryptionPrecision

The key for the precision specified for a Queryable Encrypted range property/field.

QueryableEncryptionRangeMax

The key for the maximum allowed value for a Queryable Encrypted range property/field.

QueryableEncryptionRangeMin

The key for the minimum allowed value for a Queryable Encrypted range property/field.

QueryableEncryptionSparsity

The key for the sparsity specified for a Queryable Encrypted range property/field.

QueryableEncryptionTrimFactor

The key for the trim factor specified for a Queryable Encrypted range property/field.

QueryableEncryptionType

The key for the kind of Queryable Encryption is used for this property/field.

VectorIndexOptions

Annotation for the Atlas Vector Search index options of a property.