Table of Contents

Class CsfleSchemaBuilder

Namespace
MongoDB.Driver.Encryption
Assembly
MongoDB.Driver.Encryption.dll

A builder class for creating Client-Side Field Level Encryption (CSFLE) schemas.

public class CsfleSchemaBuilder
Inheritance
CsfleSchemaBuilder
Inherited Members

Methods

Build()

Builds and returns the resulting CSFLE schema.

Create(Action<CsfleSchemaBuilder>)

Creates a new instance of the CsfleSchemaBuilder and configures it using the provided action.

Encrypt<T>(CollectionNamespace, Action<EncryptedCollectionBuilder<T>>)

Adds an encrypted collection schema for a specific collection namespace.