MongoDBSchemaValidationMode Enumeration
On this page
Specifies the validation of documents against the collection schema created by CREATE TABLE and EF Core EnsureCreated.
Syntax
Members
| Member | Description |
| Error | Documents that do not match the schema are rejected for every client (validationLevel "strict", validationAction "error"). |
| Off | The schema only describes the columns; documents are not validated (validationLevel "off"). |
| Warn | Documents that do not match the schema are logged by the server (validationLevel "moderate", validationAction "warn"). |
Inheritance Hierarchy
System.Object
System.ValueType
System.Enum
Devart.Data.MongoDB.MongoDBSchemaValidationMode
See Also