Table of Contents

Enum QueryableEncryptionSchemaMode

Namespace
MongoDB.EntityFrameworkCore
Assembly
MongoDB.EntityFrameworkCore.dll

How Queryable Encryption schemas are managed by the MongoDB EF Core Provider.

public enum QueryableEncryptionSchemaMode

Fields

ApplyToClient = 0

The IsEncrypted field configuration is only applied to the client.

This is intended for local or pre-production environments where the schema may change during development.

Ignore = 1

The IsEncrypted field configuration is ignored so that server schema may be used exclusively.

This is intended for situations where the Queryable Encryption schema already exists on the server and any field-level configuration on the client should be ignored.